Метод | Описание | |
---|---|---|
CanSend ( OperationType opType ) : bool |
Indicates if the OperationType can be sent with this peer.
|
|
Disconnect ( ) : void |
Disconnects the Peer object.
|
Метод | Описание | |
---|---|---|
OnStatusChanged ( NetStatus status ) : void |
Called when NetStatus Status changes. Can be overriden to preform actions in child classes.
|
|
Peer ( ILog logger, INetworkMessageRouterService messageSender, IConnectionDetails details, INetworkMessageSubscriptionService subService, IDisconnectionServiceHandler disconnectHandler ) : System |
Метод | Описание | |
---|---|---|
OnReceiveStatus ( IStatusMessage message, IMessageParameters parameters ) : void |
Internally managed status receival method. Setup to be called internally using the INetworkMessageSubscriptionService.
|
public CanSend ( OperationType opType ) : bool | ||
opType | OperationType | |
Результат | bool |
protected OnStatusChanged ( NetStatus status ) : void | ||
status | NetStatus | The new |
Результат | void |
protected Peer ( ILog logger, INetworkMessageRouterService messageSender, IConnectionDetails details, INetworkMessageSubscriptionService subService, IDisconnectionServiceHandler disconnectHandler ) : System | ||
logger | ILog | |
messageSender | INetworkMessageRouterService | |
details | IConnectionDetails | |
subService | INetworkMessageSubscriptionService | |
disconnectHandler | IDisconnectionServiceHandler | |
Результат | System |