C# Class NetMQ.Core.Transports.Pgm.PgmSender

Inheritance: IOObject, IEngine, IProactorEvents
Mostrar archivo Open project: NetMQ/NetMQ3-x Class Usage Examples

Public Methods

Method Description
ActivateIn ( ) : void
ActivateOut ( ) : void
InCompleted ( SocketError socketError, int bytesTransferred ) : void

This method would be called when a message receive operation has been completed, although here it only throws a NotSupportedException.

Init ( [ pgmAddress ) : void
OutCompleted ( SocketError socketError, int bytesTransferred ) : void

This method is called when a message Send operation has been completed.

PgmSender ( [ ioThread, [ options, [ addr, bool delayedStart ) : System
Plug ( IOThread ioThread, SessionBase session ) : void
Terminate ( ) : void
TimerEvent ( int id ) : void

This would be called when a timer expires, although here it only throws a NotSupportedException.

Private Methods

Method Description
BeginSending ( ) : void
Destroy ( ) : void
Error ( ) : void
GetNewReconnectIvl ( ) : int

Internal function to return a reconnect back-off delay. Will modify the current_reconnect_ivl used for next call Returns the currently used interval

StartConnecting ( ) : void

Method Details

ActivateIn() public method

public ActivateIn ( ) : void
return void

ActivateOut() public method

public ActivateOut ( ) : void
return void

InCompleted() public method

This method would be called when a message receive operation has been completed, although here it only throws a NotSupportedException.
This method must not be called on instances of PgmSender.
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
return void

Init() public method

public Init ( [ pgmAddress ) : void
pgmAddress [
return void

OutCompleted() public method

This method is called when a message Send operation has been completed.
A non-recoverable socket error occurred.
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
return void

PgmSender() public method

public PgmSender ( [ ioThread, [ options, [ addr, bool delayedStart ) : System
ioThread [
options [
addr [
delayedStart bool
return System

Plug() public method

public Plug ( IOThread ioThread, SessionBase session ) : void
ioThread IOThread
session SessionBase
return void

Terminate() public method

public Terminate ( ) : void
return void

TimerEvent() public method

This would be called when a timer expires, although here it only throws a NotSupportedException.
This method must not be called on instances of PgmSender.
public TimerEvent ( int id ) : void
id int an integer used to identify the timer (not used here)
return void