C# Класс NetMQ.Core.Transports.Pgm.PgmSender

Наследование: IOObject, IEngine, IProactorEvents
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ActivateIn() публичный Метод

public ActivateIn ( ) : void
Результат void

ActivateOut() публичный Метод

public ActivateOut ( ) : void
Результат void

InCompleted() публичный Метод

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
Результат void

Init() публичный Метод

public Init ( [ pgmAddress ) : void
pgmAddress [
Результат void

OutCompleted() публичный Метод

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
Результат void

PgmSender() публичный Метод

public PgmSender ( [ ioThread, [ options, [ addr, bool delayedStart ) : System
ioThread [
options [
addr [
delayedStart bool
Результат System

Plug() публичный Метод

public Plug ( IOThread ioThread, SessionBase session ) : void
ioThread IOThread
session SessionBase
Результат void

Terminate() публичный Метод

public Terminate ( ) : void
Результат void

TimerEvent() публичный Метод

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)
Результат void