org.apache.openejb.client
Class AuthenticationResponse

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

public class AuthenticationResponse
extends java.lang.Object
implements Response

See Also:
Serialized Form

Constructor Summary
AuthenticationResponse()
           
AuthenticationResponse(int code)
           
 
Method Summary
 java.lang.Throwable getDeniedCause()
           
 ClientMetaData getIdentity()
           
 int getResponseCode()
           
 ServerMetaData getServer()
           
 void readExternal(java.io.ObjectInput in)
           
 void setDeniedCause(java.lang.Throwable deniedCause)
           
 void setIdentity(ClientMetaData identity)
           
 void setResponseCode(int responseCode)
           
 void setServer(ServerMetaData server)
           
 java.lang.String toString()
           
 void writeExternal(java.io.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 java.lang.Throwable getDeniedCause()

setDeniedCause

public void setDeniedCause(java.lang.Throwable deniedCause)

readExternal

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

writeExternal

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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