Interface MessageCallback


public interface MessageCallback

This interface represents function protype for channel message handling.


Method Summary
 Value onMessage(Member from, String command, Value argument)
          Handles incoming channel message.
 

Method Detail

onMessage

Value onMessage(Member from,
                String command,
                Value argument)
Handles incoming channel message.

Parameters:
from - Originating member
command - Command name
argument - Command argument
Returns:
return value, or null if this command doesn't return value.