|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectFlapPacketEvent
SnacPacketEvent
RecvRvEvent
An event that occurs when a new rendezvous command or response is received in a rendezvous session.
| Field Summary | |
static java.lang.Object |
TYPE_RESPONSE
An event type indicating that a RV response was received. |
static java.lang.Object |
TYPE_RV
An event type indicating that a rendezvous command was received. |
| Constructor Summary | |
protected |
RecvRvEvent(SnacPacketEvent other,
RvProcessor processor,
RvSession session,
int resultCode)
Creates a new incoming rendezvous event with the given properties and a type of TYPE_RESPONSE. |
protected |
RecvRvEvent(SnacPacketEvent other,
RvProcessor processor,
RvSession session,
RvCommand command)
Creates a new incoming rendezvous event with the given properties and a type of TYPE_RV. |
| Method Summary | |
RvCommand |
getRvCommand()
Returns the RV command that was received, if any. |
java.lang.Object |
getRvEventType()
Returns the type of event that this object represents. |
RvProcessor |
getRvProcessor()
Returns the RV processor on which the associated RV command/response was received. |
int |
getRvResponseCode()
Returns the RV response code that was received, if any. |
RvSession |
getRvSession()
Returns the RV session on which the associated RV command/response was received. |
java.lang.String |
toString()
|
| Methods inherited from class SnacPacketEvent |
getSnacCommand, getSnacPacket, getSnacProcessor |
| Methods inherited from class FlapPacketEvent |
getFlapCommand, getFlapPacket, getFlapProcessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Object TYPE_RV
getRvCommand()public static final java.lang.Object TYPE_RESPONSE
getRvResponseCode()| Constructor Detail |
protected RecvRvEvent(SnacPacketEvent other,
RvProcessor processor,
RvSession session,
RvCommand command)
TYPE_RV.
other - the SNAC packet event on which this event was receivedprocessor - the RV processor on which this event was recievedsession - the RV session on which this event was receivedcommand - the RV command that was received
protected RecvRvEvent(SnacPacketEvent other,
RvProcessor processor,
RvSession session,
int resultCode)
TYPE_RESPONSE.
other - the SNAC packet event on which this event was receivedprocessor - the RV processor on which this event was recievedsession - the RV session on which this event was receivedresultCode - the result code of the received RV response| Method Detail |
public final java.lang.Object getRvEventType()
TYPE_RV and TYPE_RESPONSE. If TYPE_RV,
the value returned by getRvResponseCode() will be -1
and the value returned by getRvCommand() will be
non-null. If TYPE_RESPONSE, the converse will be
true: the value returned by getRvResponseCode() will not be
-1 and the value returned by getRvCommand() will be
null.
public final RvProcessor getRvProcessor()
public final RvSession getRvSession()
public final RvCommand getRvCommand()
null if this event is not a TYPE_RV
event.
null if this is
not a RV command receipt eventpublic final int getRvResponseCode()
-1 if this event is not a TYPE_RESPONSE event.
-1 if
this is not a RV response receipt eventpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||