C# 클래스 WireBus.WireBusListener

A listener for receiving incoming WireBus.NET connections.
상속: IDisposable
파일 보기 프로젝트 열기: bytenik/WireBus.NET

공개 메소드들

메소드 설명
AcceptWireBusAsync ( ) : Task

Accept a new WireBus client.

AcceptWireBusAsync ( CancellationToken token ) : Task

Accept a new WireBus client.

AcceptWireBusAsync ( System.TimeSpan timeout ) : Task

Accept a new WireBus client.

AcceptWireBusAsync ( System.TimeSpan timeout, CancellationToken token ) : Task

Accept a new WireBus client.

AcceptWireBusAsync ( int timeoutMilliseconds ) : Task

Accept a new WireBus client.

Dispose ( ) : void

Dispose of the listener

Start ( ) : void

Start listening for new connections.

Stop ( ) : void

Stop listening for connections.

WireBusListener ( IPAddress address, int port, ConnectionSemantics semantics = newConnectionSemantics() ) : System

Creates a new host configured to listen on the specified IP and port

WireBusListener ( IPEndPoint endpoint, ConnectionSemantics semantics = newConnectionSemantics() ) : System

Creates a new host configured to listen on the specified IP and port

WireBusListener ( int port, ConnectionSemantics semantics = newConnectionSemantics() ) : System

Create a new host configured to listen on all IP addresses with the specified port

메소드 상세

AcceptWireBusAsync() 공개 메소드

Accept a new WireBus client.
public AcceptWireBusAsync ( ) : Task
리턴 Task

AcceptWireBusAsync() 공개 메소드

Accept a new WireBus client.
public AcceptWireBusAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

AcceptWireBusAsync() 공개 메소드

Accept a new WireBus client.
public AcceptWireBusAsync ( System.TimeSpan timeout ) : Task
timeout System.TimeSpan
리턴 Task

AcceptWireBusAsync() 공개 메소드

Accept a new WireBus client.
public AcceptWireBusAsync ( System.TimeSpan timeout, CancellationToken token ) : Task
timeout System.TimeSpan
token System.Threading.CancellationToken
리턴 Task

AcceptWireBusAsync() 공개 메소드

Accept a new WireBus client.
public AcceptWireBusAsync ( int timeoutMilliseconds ) : Task
timeoutMilliseconds int
리턴 Task

Dispose() 공개 메소드

Dispose of the listener
public Dispose ( ) : void
리턴 void

Start() 공개 메소드

Start listening for new connections.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop listening for connections.
public Stop ( ) : void
리턴 void

WireBusListener() 공개 메소드

Creates a new host configured to listen on the specified IP and port
public WireBusListener ( IPAddress address, int port, ConnectionSemantics semantics = newConnectionSemantics() ) : System
address System.Net.IPAddress local address
port int local port
semantics ConnectionSemantics the connection semantics
리턴 System

WireBusListener() 공개 메소드

Creates a new host configured to listen on the specified IP and port
public WireBusListener ( IPEndPoint endpoint, ConnectionSemantics semantics = newConnectionSemantics() ) : System
endpoint System.Net.IPEndPoint the local endpoint
semantics ConnectionSemantics the connection semantics
리턴 System

WireBusListener() 공개 메소드

Create a new host configured to listen on all IP addresses with the specified port
public WireBusListener ( int port, ConnectionSemantics semantics = newConnectionSemantics() ) : System
port int the local port
semantics ConnectionSemantics the connection semantics
리턴 System