Method | Description | |
---|---|---|
Close ( ) : void |
Close the TCP provider
|
|
Publish ( string channel, byte data, int offset, int length ) : void |
Publish a message synchronously. However, if the server is not available, it will return immediately.
|
|
Subscribe ( string channel ) : void |
Subscribe method
|
|
TCPProvider ( |
TCP provider constructor
|
|
Unsubscribe ( string channel ) : void |
Unsubscribe method
|
Method | Description | |
---|---|---|
PublishEx ( string channel, byte data, int offset, int length ) : void | ||
SafeSleep ( int ms ) : void | ||
SockWriteAndFlush ( byte b ) : void |
Try to send message on socket. If the socket is not connected, we'll simply fail. The readerthread is responsible for maintaining a connection to the hub.
|
public Publish ( string channel, byte data, int offset, int length ) : void | ||
channel | string | channel name |
data | byte | data byte array |
offset | int | offset of the data to write |
length | int | length of the data to write |
return | void |
public Subscribe ( string channel ) : void | ||
channel | string | channel name |
return | void |
public TCPProvider ( |
||
lcm | LCM object | |
up | URL parser object | |
return | System |
public Unsubscribe ( string channel ) : void | ||
channel | string | channel name |
return | void |