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

Inheritance: IOObject, IEngine, IProactorEvents
Afficher le fichier Open project: NetMQ/NetMQ3-x Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ActivateIn ( ) : void
Résultat void

ActivateOut() public méthode

public ActivateOut ( ) : void
Résultat void

InCompleted() public méthode

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
Résultat void

Init() public méthode

public Init ( [ pgmAddress ) : void
pgmAddress [
Résultat void

OutCompleted() public méthode

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
Résultat void

PgmSender() public méthode

public PgmSender ( [ ioThread, [ options, [ addr, bool delayedStart ) : System
ioThread [
options [
addr [
delayedStart bool
Résultat System

Plug() public méthode

public Plug ( IOThread ioThread, SessionBase session ) : void
ioThread IOThread
session SessionBase
Résultat void

Terminate() public méthode

public Terminate ( ) : void
Résultat void

TimerEvent() public méthode

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)
Résultat void