Method | Description | |
---|---|---|
ClientChannel ( ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize ) : System |
Initializes a new ClientChannel instance.
|
|
Dispose ( bool disposing ) : void | ||
OnOpenConfirmation ( uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize ) : void |
Called when channel is opened by the server.
|
|
OnOpenFailure ( uint reasonCode, string description, string language ) : void |
Called when channel failed to open.
|
|
SendMessage ( ChannelOpenMessage message ) : void |
Send message to open a channel.
|
Method | Description | |
---|---|---|
OnChannelOpenConfirmation ( object sender, MessageEventArgs |
||
OnChannelOpenFailure ( object sender, MessageEventArgs |
||
UnsubscribeFromSessionEvents ( ISession session ) : void |
Unsubscribes the current ClientChannel from session events. Does nothing when session is |
protected ClientChannel ( ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize ) : System | ||
session | ISession | The session. |
localChannelNumber | uint | The local channel number. |
localWindowSize | uint | Size of the window. |
localPacketSize | uint | Size of the packet. |
return | System |
protected OnOpenConfirmation ( uint remoteChannelNumber, uint initialWindowSize, uint maximumPacketSize ) : void | ||
remoteChannelNumber | uint | The remote channel number. |
initialWindowSize | uint | Initial size of the window. |
maximumPacketSize | uint | Maximum size of the packet. |
return | void |
protected OnOpenFailure ( uint reasonCode, string description, string language ) : void | ||
reasonCode | uint | The reason code. |
description | string | The description. |
language | string | The language. |
return | void |
protected SendMessage ( ChannelOpenMessage message ) : void | ||
message | ChannelOpenMessage | Message to send |
return | void |