Gztopic pulisher object.
More...
|
| MASTER_TCP_IP |
|
| MASTER_TCP_PORT |
|
| NODE_TCP_IP |
|
| NODE_TCP_PORT |
|
| TCP_BUFFER_SIZE |
|
| s_reg |
|
def gztopic.GzCommunicator.__init__ |
( |
|
self, |
|
|
|
masterip = '127.0.0.1' , |
|
|
|
masterport = 11345 |
|
) |
| |
Constructor.
- Parameters
-
self | Object pointer |
masterip | Master ip address |
masterport | Master port number Init function |
def gztopic.GzCommunicator.publish |
( |
|
self, |
|
|
|
msg |
|
) |
| |
Publish message.
- Parameters
-
self | Object pointer |
msg | Message object |
def gztopic.GzCommunicator.StartCommunicator |
( |
|
self, |
|
|
|
topic, |
|
|
|
messagetype |
|
) |
| |
Build the socket and start the connection.
- Parameters
-
self | Object pointer |
topic | Gztopic string |
messagetype | Name of the messgae object Start the communication through gztopic |
def gztopic.GzCommunicator.stop |
( |
|
self | ) |
|
Close the connection.
- Parameters
-
self | Object pointer Stop the communicator |
The documentation for this class was generated from the following file:
- Util/python_util/gztopic.py