C# 클래스 Brunet.Concurrent.Channel

파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
State object

보호된 프로퍼티들

프로퍼티 타입 설명
_close_event FireOnceEvent
_closed int
_count int
_enqueues int
_max_enqueues int
_queue LockFreeQueue

공개 메소드들

메소드 설명
Channel ( ) : System.Collections
Channel ( int max_enq ) : System.Collections
Channel ( int max_enqueues, object state ) : System.Collections
Close ( ) : bool
CloseAfterEnqueue ( ) : bool
Dequeue ( ) : object
Enqueue ( object a ) : int
Peek ( ) : object

보호된 메소드들

메소드 설명
FireEnqueue ( ) : void

비공개 메소드들

메소드 설명
ChannelTests ( ) : void

메소드 상세

Channel() 공개 메소드

public Channel ( ) : System.Collections
리턴 System.Collections

Channel() 공개 메소드

public Channel ( int max_enq ) : System.Collections
max_enq int
리턴 System.Collections

Channel() 공개 메소드

public Channel ( int max_enqueues, object state ) : System.Collections
max_enqueues int
state object
리턴 System.Collections

Close() 공개 메소드

public Close ( ) : bool
리턴 bool

CloseAfterEnqueue() 공개 메소드

public CloseAfterEnqueue ( ) : bool
리턴 bool

Dequeue() 공개 메소드

public Dequeue ( ) : object
리턴 object

Enqueue() 공개 메소드

public Enqueue ( object a ) : int
a object
리턴 int

FireEnqueue() 보호된 메소드

protected FireEnqueue ( ) : void
리턴 void

Peek() 공개 메소드

public Peek ( ) : object
리턴 object

프로퍼티 상세

State 공개적으로 프로퍼티

public object State
리턴 object

_close_event 보호되어 있는 프로퍼티

protected FireOnceEvent,Brunet.Concurrent _close_event
리턴 FireOnceEvent

_closed 보호되어 있는 프로퍼티

protected int _closed
리턴 int

_count 보호되어 있는 프로퍼티

protected int _count
리턴 int

_enqueues 보호되어 있는 프로퍼티

protected int _enqueues
리턴 int

_max_enqueues 보호되어 있는 프로퍼티

protected int _max_enqueues
리턴 int

_queue 보호되어 있는 프로퍼티

protected LockFreeQueue _queue
리턴 LockFreeQueue