com.cafesoft.cams.session.access
Interface InternalSessionAccessResponse

All Superinterfaces:
SessionAccessResponse

public interface InternalSessionAccessResponse
extends SessionAccessResponse

Defines the response to a SessionAccessRequest, which request information about a Cams authentication Session.

Since:
11/8/2002
See Also:
SessionAccessRequest

Field Summary
 
Fields inherited from interface com.cafesoft.cams.session.access.SessionAccessResponse
RC_GENERAL_SERVER_ERROR, RC_GENERAL_TRANSPORT_ERROR, RC_INVALID_REMOTE_IP_ADDRESS, RC_INVALID_SESSION_ID, RC_NOT_APPLICABLE, RC_POISONED_SESSION, RC_SESSION_DOES_NOT_EXIST, RC_UNAUTHORIZED_AGENT, RC_UNKNOWN_SECURITY_DOMAIN, SC_FAILED, SC_PENDING, SC_SUCCESS
 
Method Summary
 void setMessage(String message)
          Set the message.
 void setReason(int reason)
          Set the reason code.
 void setSession(RemoteSession session)
          Set the Session associated with this InternalSessionAccessResponse
 void setStatus(int status)
          Set the status code.
 
Methods inherited from interface com.cafesoft.cams.session.access.SessionAccessResponse
getMessage, getReason, getSecurityDomainName, getSession, getStatus, log
 

Method Detail

setStatus

public void setStatus(int status)
Set the status code.

Parameters:
status - the status code.

setReason

public void setReason(int reason)
Set the reason code.

Parameters:
reason - a code indicating why session access is failed.

setMessage

public void setMessage(String message)
Set the message.

Parameters:
message - a message, usually used to convey error information if session access failed.

setSession

public void setSession(RemoteSession session)
Set the Session associated with this InternalSessionAccessResponse

Parameters:
session - the new Session to associate with the SessionAccessResponse


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.