LCM provider for the tcp: URL. All messages are sent to a central "hub" process (that must be started separately), which will relay the messages to all other processes. TCPService is an implementation of the hub process.
More...
|
System.Net.IPAddress | InetAddr [get] |
|
int | InetPort [get] |
|
LCM provider for the tcp: URL. All messages are sent to a central "hub" process (that must be started separately), which will relay the messages to all other processes. TCPService is an implementation of the hub process.
The .NET implementation is functionally equal to the Java version.
◆ TCPProvider()
TCP provider constructor
- Parameters
-
lcm | LCM object |
up | URL parser object |
◆ Close()
virtual void LCM.LCM.TCPProvider.Close |
( |
| ) |
|
|
inlinevirtual |
◆ Publish()
virtual void LCM.LCM.TCPProvider.Publish |
( |
string |
channel, |
|
|
byte[] |
data, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inlinevirtual |
Publish a message synchronously. However, if the server is not available, it will return immediately.
- Parameters
-
channel | channel name |
data | data byte array |
offset | offset of the data to write |
length | length of the data to write |
Implements LCM.LCM.Provider.
◆ Subscribe()
virtual void LCM.LCM.TCPProvider.Subscribe |
( |
string |
channel | ) |
|
|
inlinevirtual |
◆ Unsubscribe()
void LCM.LCM.TCPProvider.Unsubscribe |
( |
string |
channel | ) |
|
|
inline |
The documentation for this class was generated from the following file: