Back Previous Next


Linguist network package - message

Syntax:

   message {name} {elements}

Keyword handler:

   net.eclecity.linguist.network.keyword.NetworkKMessage.class

Runtime handler(s):

   net.eclecity.linguist.network.handler.NetworkHMessage.class

Function:

Declares a message variable or an array of message. The array size is fixed at time of compilation.

Messages are used by clients and services to implement peer-to-peer networking. A message contains the name and IP address of the source and destination (sender and recipient) and the text of the message itself. See also set and send.

Example(s):

   message AdminMessage
   message Messages 12


Back Previous Next