net.kano.joscar.rv
Class RvSnacResponseEvent
java.lang.Object
FlapPacketEvent
SnacPacketEvent
RvSnacResponseEvent
- public class RvSnacResponseEvent
- extends SnacPacketEvent
An event that occurs when a non-RV response to a RV command or RV response is
received. For example, if one attempts to send a file to a user who is not
currently online, a SnacError
will
likely be received.
- See Also:
SnacPacketEvent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RvSnacResponseEvent
protected RvSnacResponseEvent(SnacPacketEvent cause,
RvProcessor rvProcessor,
RvSession rvSession)
- Creates a new RV SNAC response event with the given properties.
- Parameters:
cause
- the SNAC packet event that was received in response to an
RV commandrvProcessor
- the RV processor on which this response was receivedrvSession
- the RV session whose initial RV command caused this
response
getRvProcessor
public final RvProcessor getRvProcessor()
- Returns the RV processor on which the associated SNAC response was
received.
- Returns:
- the RV processor on which the associated SNAC response was
recieved
getRvSession
public final RvSession getRvSession()
- Returns the RV session on which the associated SNAC response was
received. While the SNAC response likely did not contain a rendezvous
session ID (and thus does not intrinsically have an associated RV
session), it is still associated with an RV session in the sense that
the RV command to which it is a response was sent over a RV session. I
hope that makes sense.
- Returns:
- the RV session on which the associated SNAC response was recieved