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
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_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