gmlMessageTransportLocal Class Reference

Inherits from

Detailed Description

Exchange data with one or several in the local interpreter.

After creation, instances generate the following events:

Receive peerID messageID size data
once for each message received
Error peerID message
whenever a protocol error is detected

Configurable options:

-port integer
The UDP port on which the object listens. Can only be set during object creation. Defaults to 0, meaning that the port will be automatically chosen.
-message-command cmd

Each time a message is going to be sent to a peer, cmd will be executed with one argument (the destination's peer ID), and it must return a message identifier.

The default is to return a random identifier.

Public Member Functions

constructor args

Create a Local connection handler.

destructor

send mid location data