|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.zerjio.JIRC.SimpleReplyMsgListener
A basic ReplyMsgListener
that prints the information available about
every ReplyMessage
that is received.
Constructor Summary | |
SimpleReplyMsgListener()
|
Method Summary | |
boolean |
listensTo(java.lang.String replyCode)
Returns true to listen to every reply message. |
void |
replyMsgReceived(ReplyMessage msg)
Prints out all information known about a particular ReplyMessage . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleReplyMsgListener()
Method Detail |
public boolean listensTo(java.lang.String replyCode)
true
to listen to every reply message.
listensTo
in interface ReplyMsgListener
replyCode
- A reply code (it doesn't matter what code, returns always true
)
true
public void replyMsgReceived(ReplyMessage msg)
ReplyMessage
.
replyMsgReceived
in interface ReplyMsgListener
msg
- The reply message to print its information.markAsUsed
,
mustBeDiscarded
,
listenTo(String replyCode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |