Method | Description | |
---|---|---|
ClearLowPriorityQueue ( ) : System.Threading.Tasks.Task | ||
Disconnect ( ) : void |
Disconnects from remote application and closes this channel.
|
|
SendMessage ( IScsMessage message, byte priority ) : void |
Sends a message to the remote application.
|
|
Start ( ) : void |
Starts the communication with remote application.
|
Method | Description | |
---|---|---|
CommunicationChannelBase ( ) : System |
Constructor.
|
|
OnDisconnected ( ) : void |
Raises Disconnected event.
|
|
OnMessageReceived ( IScsMessage message, System.DateTime receivedTimestamp ) : void |
Raises MessageReceived event.
|
|
OnMessageSent ( IScsMessage message ) : void |
Raises MessageSent event.
|
|
SendMessagepublic ( IScsMessage message, byte priority ) : void |
Sends a message to the remote application. This method is overrided by derived Classs to really send to message.
|
|
Startpublic ( ) : void |
Starts the communication with remote application really.
|
public abstract ClearLowPriorityQueue ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
protected CommunicationChannelBase ( ) : System | ||
return | System |
protected OnMessageReceived ( IScsMessage message, System.DateTime receivedTimestamp ) : void | ||
message | IScsMessage | Received message |
receivedTimestamp | System.DateTime | |
return | void |
protected OnMessageSent ( IScsMessage message ) : void | ||
message | IScsMessage | Received message |
return | void |
public SendMessage ( IScsMessage message, byte priority ) : void | ||
message | IScsMessage | Message to be sent |
priority | byte | |
return | void |
protected abstract SendMessagepublic ( IScsMessage message, byte priority ) : void | ||
message | IScsMessage | Message to be sent |
priority | byte | |
return | void |