Loading...
Searching...
No Matches
Sx.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2022 Raritan Inc. All rights reserved.
*/
#ifndef __SX_IDL__
#define __SX_IDL__
#include <UserEvent.idl>
module sx {
/** Serial access port interface */
interface Sx {
/** Client info */
structure ClientInfo {
string portId; ///< Serial access port id
string portName; ///< Serial access port name
string userName; ///< User name
string userIp; ///< User IP address (or <local> if this is a local session)
};
/** Event that is send when a client has connected to the port */
valueobject ClientConnectionStatusEvent extends event.UserEvent {
ClientInfo clientInfo; ///< Client info
boolean status; ///< true: connected; false: disconnected
int clientCnt; ///< total client count
};
};
}
#endif // __SX_IDL__
sx::Sx
Serial access port interface.
Definition Sx.idl:14
sx::Sx::ClientConnectionStatusEvent
Event that is send when a client has connected to the port.
Definition Sx.idl:25
sx::Sx::ClientConnectionStatusEvent::status
boolean status
true: connected; false: disconnected
Definition Sx.idl:27
sx::Sx::ClientConnectionStatusEvent::clientInfo
ClientInfo clientInfo
Client info.
Definition Sx.idl:26
sx::Sx::ClientConnectionStatusEvent::clientCnt
int clientCnt
total client count
Definition Sx.idl:28
sx::Sx::ClientInfo
Client info.
Definition Sx.idl:17
sx::Sx::ClientInfo::portName
string portName
Serial access port name.
Definition Sx.idl:19
sx::Sx::ClientInfo::portId
string portId
Serial access port id.
Definition Sx.idl:18
sx::Sx::ClientInfo::userName
string userName
User name.
Definition Sx.idl:20
sx::Sx::ClientInfo::userIp
string userIp
User IP address (or <local> if this is a local session)
Definition Sx.idl:21