Copyright © Rasmus Sten and contributors, 1997-2004

nu.dll.lyskom
Class RpcReply

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

public class RpcReply
extends java.lang.Object

Represents an RPC reply received from the server.


Method Summary
 nu.dll.lyskom.RpcFailure getException()
          If the call was unsuccessful, returns an RpcFailure object containing the error status, otherwise null.
 int getId()
          Returns the RPC reference number of the call which this is a reply to.
 nu.dll.lyskom.KomToken[] getParameters()
          Return an array of KomToken objects containing all reply data.
 boolean getSuccess()
          Returns true if the server indicated that the initiating 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

getSuccess

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


getException

public nu.dll.lyskom.RpcFailure getException()
If the call was unsuccessful, returns an RpcFailure object containing the error status, otherwise null.

See Also:
RpcFailure

getId

public int getId()
Returns the RPC reference number of the call which this is a reply to.


getParameters

public nu.dll.lyskom.KomToken[] getParameters()
Return an array of KomToken objects containing all reply data.


toString

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

Overrides:
toString in class java.lang.Object

Copyright © Rasmus Sten and contributors, 1997-2004