Méthode | Description | |
---|---|---|
Connect ( |
Connect to a peer, returning a new bus.
|
|
Connect ( string host, int port, |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( string host, int port, |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( string host, int port, |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( string host, int port, System.TimeSpan timeout, |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( string host, int port, System.TimeSpan timeout, |
Connect to a peer, returning a new bus.
|
|
ConnectAsync ( string host, int port, int millisecondsTimeout, |
Connect to a peer, returning a new bus.
|
|
Disconnect ( ) : void |
Disconnect from the peer
|
|
Dispose ( ) : void |
Dispose of the client
|
|
Receive ( ) : |
Receive a message from the network
|
|
ReceiveAsync ( ) : Task |
Receive a message from the network
|
|
ReceiveAsync ( |
Receive a message from the network
|
|
ReceiveAsync ( System.TimeSpan timeout ) : Task |
Receive a message from the network
|
|
ReceiveAsync ( System.TimeSpan timeout, |
Receive a message from the network
|
|
ReceiveAsync ( int timeoutMilliseconds ) : Task |
Receive a message from the network
|
|
Send ( byte message ) : void |
Send a message to the peer.
|
|
SendAsync ( byte message ) : Task |
Send a message to the peer.
|
|
SendRequest ( byte message ) : |
Send a message to the peer and wait for a reply
|
|
SendRequestAsync ( byte message ) : Task |
Send a message to the peer and wait for a reply
|
Méthode | Description | |
---|---|---|
GetNextId ( ) : uint | ||
InternalSendAsync ( byte message, uint id ) : Task | ||
ReceiveMessages ( ) : void | ||
SocketReceiveAsync ( Socket s, byte buffer, int start, int length ) : Task |
||
WireBusClient ( Socket socket ) : System | ||
WireBusClient ( Socket socket, |
public static Connect ( |
||
host | the target host | |
port | int | the target port |
semantics | the semantics of the connection | |
Résultat |
public static Connect ( string host, int port, |
||
host | string | the target host |
port | int | the target port |
semantics | the semantics of the connection | |
Résultat |
public static ConnectAsync ( |
||
host | the target host | |
port | int | the target port |
token | token used to cancel connection attempt | |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( |
||
host | the target host | |
port | int | the target port |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( |
||
host | the target host | |
port | int | the target port |
timeout | System.TimeSpan | the timeout after which to give up |
token | token used to cancel connection attempt | |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( |
||
host | the target host | |
port | int | the target port |
timeout | System.TimeSpan | the timeout after which to give up |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( |
||
host | the target host | |
port | int | the target port |
millisecondsTimeout | int | the timeout in milliseconds after which to give up |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( string host, int port, |
||
host | string | the target host |
port | int | the target port |
token | token used to cancel connection attempt | |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( string host, int port, |
||
host | string | the target host |
port | int | the target port |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( string host, int port, System.TimeSpan timeout, |
||
host | string | the target host |
port | int | the target port |
timeout | System.TimeSpan | the timeout after which to give up |
token | token used to cancel connection attempt | |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( string host, int port, System.TimeSpan timeout, |
||
host | string | the target host |
port | int | the target port |
timeout | System.TimeSpan | the timeout after which to give up |
semantics | the semantics of the connection | |
Résultat | Task |
public static ConnectAsync ( string host, int port, int millisecondsTimeout, |
||
host | string | the target host |
port | int | the target port |
millisecondsTimeout | int | the timeout in milliseconds after which to give up |
semantics | the semantics of the connection | |
Résultat | Task |
public ReceiveAsync ( |
||
token | ||
Résultat | Task |
public ReceiveAsync ( System.TimeSpan timeout ) : Task |
||
timeout | System.TimeSpan | |
Résultat | Task |
public ReceiveAsync ( System.TimeSpan timeout, |
||
timeout | System.TimeSpan | |
token | ||
Résultat | Task |
public ReceiveAsync ( int timeoutMilliseconds ) : Task |
||
timeoutMilliseconds | int | |
Résultat | Task |
public Send ( byte message ) : void | ||
message | byte | the message to send |
Résultat | void |
public SendAsync ( byte message ) : Task | ||
message | byte | the message to send |
Résultat | Task |
public SendRequest ( byte message ) : |
||
message | byte | the message to send |
Résultat |
public SendRequestAsync ( byte message ) : Task |
||
message | byte | the message to send |
Résultat | Task |