public interface TransactionListener extends EventListener
processTransaction method is invoked.| Modifier and Type | Method and Description |
|---|---|
void |
processTransaction(String name,
Message message)
Called when a transaction message is received from the NetServer.
|
void processTransaction(String name, Message message) throws Exception
name and a message containing
the request data, and every transaction request must be answered
(replied to), otherwise the client that send the request will be blocked
forever waiting for the reply.name - the name of the transaction.message - the data of the transaction.Exception - when an error occurs while processing the message.ServerChannel.sendReply(Object, int)Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.