C# Класс Brunet.Transport.WrapperEdge

Provides a Wrapper for edges, this allows us to control input, output, and state of the edge. This class is thread-safe.
Наследование: Edge, IDataHandler
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_edge Edge

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

Метод Описание
Close ( ) : bool
HandleData ( MemBlock b, ISender return_path, object state ) : void

We automatically push all data to the listener of this edge.

Send ( ICopyable p ) : void

Sends the data over the underlying edge.

ToString ( ) : string
WrapperEdge ( Edge edge ) : System
WrapperEdge ( Edge edge, bool SubscribeToEdge ) : System

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

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

public Close ( ) : bool
Результат bool

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

We automatically push all data to the listener of this edge.
public HandleData ( MemBlock b, ISender return_path, object state ) : void
b Brunet.Util.MemBlock
return_path ISender
state object
Результат void

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

Sends the data over the underlying edge.
public Send ( ICopyable p ) : void
p ICopyable
Результат void

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

public ToString ( ) : string
Результат string

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

public WrapperEdge ( Edge edge ) : System
edge Edge
Результат System

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

public WrapperEdge ( Edge edge, bool SubscribeToEdge ) : System
edge Edge The edge to wrap.
SubscribeToEdge bool Should this subscribe to the edge.
Результат System

Описание свойств

_edge защищенное свойство

protected Edge _edge
Результат Edge