ch.epfl.lsr.apex.connection
Class APEXReplyListener
java.lang.Object
ch.epfl.lsr.apex.connection.APEXReplyListener
- All Implemented Interfaces:
- Runnable
- public class APEXReplyListener
- extends Object
- implements Runnable
Since the BEEP reply offers no explicit listener, a this APEXReplyListener
takes on this role: if the standalone thread receives a reply, it calls the
handleReply
method of the correspondant connection.
- Author:
- Marc Stoecklin
- See Also:
Reply
,
APEXConnection.handleReply(Message, APEXMessage)
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reply
Reply reply
message
APEXMessage message
connection
APEXConnection connection
APEXReplyListener
public APEXReplyListener(Reply reply,
APEXMessage message,
APEXConnection connection)
- Instantiates a new
APEXReplyListener
for the
specified reply, message, and call-back class connection.
- Parameters:
reply
- The reply to wait formessage
- The messageconnection
- The connection to call-back
run
public void run()
- Specified by:
run
in interface Runnable