hypermedia.net index |
||||
Name | setReceiveHandler ( ) | |||
Examples | None available | |||
Description | Register the target's receive handler.
By default, this method name is "receive" with one argument
representing the received data as void myCustomReceiveHandler(byte[] message, String ip, int port) { // do something here... } |
|||
Syntax | setReceiveHandler(name); |
|||
Parameters |
|
|||
Returns | None | |||
Usage | Web & Application | |||
Related | ||||