|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalSessionAccessResponse
Defines the response to a SessionAccessRequest, which request
information about a Cams authentication Session.
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 |
|---|
void setStatus(int status)
status - the status code.void setReason(int reason)
reason - a code indicating why session access is failed.void setMessage(String message)
message - a message, usually used to convey error information
if session access failed.void setSession(RemoteSession session)
session - the new Session to associate with the
SessionAccessResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||