Méthode | Description | |
---|---|---|
ActivateIn ( ) : void | ||
ActivateOut ( ) : void | ||
Destroy ( ) : void | ||
InCompleted ( SocketError socketError, int bytesTransferred ) : void |
This method is be called when a message receive operation has been completed.
|
|
OutCompleted ( SocketError socketError, int bytesTransferred ) : void |
This method is called when a message Send operation has been completed.
|
|
Plug ( IOThread ioThread, SessionBase session ) : void | ||
PushMsg ( Msg &msg ) : bool | ||
StreamEngine ( AsyncIO.AsyncSocket handle, Options options, string endpoint ) : System | ||
Terminate ( ) : void | ||
TimerEvent ( int id ) : void |
This would be called when a timer expires, although here it only throws NotSupportedException.
|
Méthode | Description | |
---|---|---|
Activate ( ) : void | ||
BeginRead ( [ data, int size ) : void | ||
BeginSending ( ) : void | ||
BeginWrite ( [ data, int size ) : void | ||
EndRead ( SocketError socketError, int bytesTransferred ) : int | If socketError is SocketError.Success and bytesTransferred is > 0, then this returns bytesTransferred. If bytes is zero, or the socketError is one of NetworkDown, NetworkReset, HostUn, Connection Aborted, TimedOut, or ConnectionReset, - then -1 is returned. Otherwise, a NetMQException is thrown. | |
EndWrite ( SocketError socketError, int bytesTransferred ) : int | If socketError is SocketError.Success and bytesTransferred is > 0, then this returns bytesTransferred. If bytes is zero, or the socketError is one of NetworkDown, NetworkReset, HostUn, Connection Aborted, TimedOut, or ConnectionReset, - then -1 is returned. Otherwise, a NetMQException is thrown. | |
EnqueueAction ( System.Action action, SocketError socketError, int bytesTransferred ) : void | ||
Error ( ) : void | ||
FeedAction ( System.Action action, SocketError socketError, int bytesTransferred ) : void | ||
Handle ( System.Action action, SocketError socketError, int bytesTransferred ) : void | ||
HandleHandshake ( System.Action action, SocketError socketError, int bytesTransferred ) : void | ||
ProcessInput ( ) : void | ||
Unplug ( ) : void |
public InCompleted ( SocketError socketError, int bytesTransferred ) : void | ||
socketError | SocketError | a SocketError value that indicates whether Success or an error occurred |
bytesTransferred | int | the number of bytes that were transferred |
Résultat | void |
public OutCompleted ( SocketError socketError, int bytesTransferred ) : void | ||
socketError | SocketError | a SocketError value that indicates whether Success or an error occurred |
bytesTransferred | int | the number of bytes that were transferred |
Résultat | void |
public Plug ( IOThread ioThread, SessionBase session ) : void | ||
ioThread | IOThread | |
session | SessionBase | |
Résultat | void |
public StreamEngine ( AsyncIO.AsyncSocket handle, Options options, string endpoint ) : System | ||
handle | AsyncIO.AsyncSocket | |
options | Options | |
endpoint | string | |
Résultat | System |
public TimerEvent ( int id ) : void | ||
id | int | an integer used to identify the timer (not used here) |
Résultat | void |