public interface ReplyListener extends EventListener
processReply method is invoked.| Modifier and Type | Method and Description |
|---|---|
void |
processReply(int sequence,
Message message,
Object context)
Called when an asynchronous transaction reply message is received from
the NetServer.
|
void processReply(int sequence,
Message message,
Object context)
throws Exception
sendRequest method. Normally, though, transaction request are
synchronous, in which the server process is blocked until the reply
message is received.sequence - the sequence number of the reply message.message - the data of the reply message.context - a user-defined context information for the reply.Exception - if an error occurs.ServerChannel.sendRequest(String, Object, ReplyListener, Object)Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.