org.apache.openejb.client
Class AuthenticationResponse

java.lang.Object
  extended by org.apache.openejb.client.AuthenticationResponse
All Implemented Interfaces:
Externalizable, Serializable, Response

public class AuthenticationResponse
extends Object
implements Response

See Also:
Serialized Form

Constructor Summary
AuthenticationResponse()
           
AuthenticationResponse(int code)
           
 
Method Summary
 Throwable getDeniedCause()
           
 ClientMetaData getIdentity()
           
 int getResponseCode()
           
 ServerMetaData getServer()
           
 void readExternal(ObjectInput in)
           
 void setDeniedCause(Throwable deniedCause)
           
 void setIdentity(ClientMetaData identity)
           
 void setResponseCode(int responseCode)
           
 void setServer(ServerMetaData server)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationResponse

public AuthenticationResponse()

AuthenticationResponse

public AuthenticationResponse(int code)
Method Detail

getResponseCode

public int getResponseCode()

getIdentity

public ClientMetaData getIdentity()

getServer

public ServerMetaData getServer()

setResponseCode

public void setResponseCode(int responseCode)

setIdentity

public void setIdentity(ClientMetaData identity)

setServer

public void setServer(ServerMetaData server)

getDeniedCause

public Throwable getDeniedCause()

setDeniedCause

public void setDeniedCause(Throwable deniedCause)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Specified by:
readExternal in interface Response
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Specified by:
writeExternal in interface Response
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.