C# 클래스 NetMQ.NetMQPoller

상속: System.Threading.Tasks.TaskScheduler, ISynchronizeInvoke, INetMQPoller, ISocketPollableCollection, IEnumerable, IDisposable
파일 보기 프로젝트 열기: NetMQ/NetMQ3-x 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckDisposed void
IEnumerable IEnumerator
ISynchronizeInvoke IAsyncResult
ISynchronizeInvoke object
ISynchronizeInvoke object
OnSocketEventsChanged void
RebuildPollset void
Run void
Run void

공개 메소드들

메소드 설명
Add ( ISocketPollable socket ) : void
Add ( [ timer ) : void
Add ( [ socket, [ callback ) : void
Dispose ( ) : void

Stops and disposes the poller. The poller may not be used once disposed.

NetMQPoller ( ) : System
Remove ( ISocketPollable socket ) : void
Remove ( [ timer ) : void
Run ( ) : void

Runs the poller on the caller's thread. Only returns when Stop or StopAsync are called from another thread.

RunAsync ( ) : void

Runs the poller in a background thread, returning immediately.

Stop ( ) : void

Stops the poller, blocking until stopped.

StopAsync ( ) : void

Stops the poller, returning immediately and most likely before the poller has actually stopped.

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : IEnumerable

Not supported.

QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

비공개 메소드들

메소드 설명
CheckDisposed ( ) : void
IEnumerable ( ) : IEnumerator

This class only implements IEnumerable in order to support collection initialiser syntax.

ISynchronizeInvoke ( Delegate method, object args ) : IAsyncResult
ISynchronizeInvoke ( Delegate method, object args ) : object
ISynchronizeInvoke ( IAsyncResult result ) : object
OnSocketEventsChanged ( object sender, NetMQSocketEventArgs e ) : void
RebuildPollset ( ) : void
Run ( System.Action action ) : void
Run ( [ action ) : void

메소드 상세

Add() 공개 메소드

public Add ( ISocketPollable socket ) : void
socket ISocketPollable
리턴 void

Add() 공개 메소드

public Add ( [ timer ) : void
timer [
리턴 void

Add() 공개 메소드

public Add ( [ socket, [ callback ) : void
socket [
callback [
리턴 void

Dispose() 공개 메소드

Stops and disposes the poller. The poller may not be used once disposed.
public Dispose ( ) : void
리턴 void

GetScheduledTasks() 보호된 메소드

Not supported.
Always thrown.
protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

NetMQPoller() 공개 메소드

public NetMQPoller ( ) : System
리턴 System

QueueTask() 보호된 메소드

protected QueueTask ( Task task ) : void
task Task
리턴 void

Remove() 공개 메소드

public Remove ( ISocketPollable socket ) : void
socket ISocketPollable
리턴 void

Remove() 공개 메소드

public Remove ( [ timer ) : void
timer [
리턴 void

Run() 공개 메소드

Runs the poller on the caller's thread. Only returns when Stop or StopAsync are called from another thread.
public Run ( ) : void
리턴 void

RunAsync() 공개 메소드

Runs the poller in a background thread, returning immediately.
public RunAsync ( ) : void
리턴 void

Stop() 공개 메소드

Stops the poller, blocking until stopped.
public Stop ( ) : void
리턴 void

StopAsync() 공개 메소드

Stops the poller, returning immediately and most likely before the poller has actually stopped.
public StopAsync ( ) : void
리턴 void

TryExecuteTaskInline() 보호된 메소드

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
리턴 bool