com.cafesoft.cams.session.control
Interface InternalSessionControlResponse

All Superinterfaces:
SessionControlResponse

public interface InternalSessionControlResponse
extends SessionControlResponse

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

Since:
11/11/02
See Also:
SessionControlRequest

Field Summary
 
Fields inherited from interface com.cafesoft.cams.session.control.SessionControlResponse
RC_GENERAL_SERVER_ERROR, RC_INVALID_SESSION_ID, RC_NOT_APPLICABLE, RC_POISONED_SESSION, RC_SESSION_DOES_NOT_EXIST, 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 setStatus(int status)
          Set the status code.
 
Methods inherited from interface com.cafesoft.cams.session.control.SessionControlResponse
getMessage, getReason, 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 control is failed.

setMessage

public void setMessage(String message)
Set the message.

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


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