Class Clientreq

java.lang.Object
  extended by Clientreq

public final class Clientreq
extends java.lang.Object

From Scott Meyers on C++: Item 18: Make interfaces easy to use correctly and hard to use incorrectly. So, two constructors are used and exceptions are thrown for invalid accessor calls.


Constructor Summary
Clientreq(ByteArray resbytes, Fccommandenum cmd)
           
Clientreq(java.lang.String failurestr)
           
 
Method Summary
 Fccommandenum getcommand()
           
 java.lang.String getfailurestr()
           
 ByteArray getresbytes()
           
 boolean isvalid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clientreq

public Clientreq(java.lang.String failurestr)

Clientreq

public Clientreq(ByteArray resbytes,
                 Fccommandenum cmd)
Method Detail

isvalid

public boolean isvalid()

getfailurestr

public java.lang.String getfailurestr()

getcommand

public Fccommandenum getcommand()

getresbytes

public ByteArray getresbytes()