Copyright © Rasmus Sten and contributors, 1997-2004

nu.dll.lyskom
Class RpcEvent

java.lang.Object
  |
  +--nu.dll.lyskom.RpcEvent

public class RpcEvent
extends java.lang.Object

This call represents an RPC event; i.e. that an RPC reply has been received from the server.


Method Summary
 nu.dll.lyskom.RpcCall getCall()
          Returns the RpcCall object that represents the call of which this is a reply to.
 int getId()
          Returns the ID (RPC reference number) of the call that initiated this event.
 java.lang.Object getObject()
          Deprecated. I don't even know what this was good for in the first place
 int getOp()
          Returns the operation (RPC request call) that initiated this event.
 nu.dll.lyskom.RpcReply getReply()
          Returns the RpcReply object that represents the reply received from the server.
 nu.dll.lyskom.Session getSource()
          Returns the Session object that initiated this event.
 boolean getSuccess()
          Returns true if the server indicated that the call was successful.
 java.lang.String toString()
          Returns a String containing information about this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Returns a String containing information about this object.

Overrides:
toString in class java.lang.Object

getSource

public nu.dll.lyskom.Session getSource()
Returns the Session object that initiated this event.


getObject

public java.lang.Object getObject()
Deprecated. I don't even know what this was good for in the first place

Returns an arbitrary object that has been associated with this event.


getOp

public int getOp()
Returns the operation (RPC request call) that initiated this event.


getId

public int getId()
Returns the ID (RPC reference number) of the call that initiated this event.


getCall

public nu.dll.lyskom.RpcCall getCall()
Returns the RpcCall object that represents the call of which this is a reply to.


getReply

public nu.dll.lyskom.RpcReply getReply()
Returns the RpcReply object that represents the reply received from the server.


getSuccess

public boolean getSuccess()
Returns true if the server indicated that the call was successful.


Copyright © Rasmus Sten and contributors, 1997-2004