Method | Description | |
---|---|---|
CanSend ( OperationType opType ) : bool |
Indicates if the OperationType can be sent with this peer.
|
|
Disconnect ( ) : void |
Disconnects the Peer object.
|
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | bool |
protected OnStatusChanged ( NetStatus status ) : void | ||
status | NetStatus | The new |
return | void |
protected Peer ( ILog logger, INetworkMessageRouterService messageSender, IConnectionDetails details, INetworkMessageSubscriptionService subService, IDisconnectionServiceHandler disconnectHandler ) : System | ||
logger | ILog | |
messageSender | INetworkMessageRouterService | |
details | IConnectionDetails | |
subService | INetworkMessageSubscriptionService | |
disconnectHandler | IDisconnectionServiceHandler | |
return | System |