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

void setStatus(int status)
Set the status code.

Parameters:
status - the status code.

setReason

void setReason(int reason)
Set the reason code.

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

setMessage

void setMessage(String message)
Set the message.

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

setSession

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

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


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.