|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogon
Generic logon interface.
Method Summary | |
---|---|
void |
assertIdentity(SessionToken sessionId)
|
ResultsFuture<?> |
logoff()
Log off the specified session. |
LogonResult |
logon(java.util.Properties connectionProperties)
|
ResultsFuture<?> |
ping()
Ping the server to see if the client-server connection is alive. |
ResultsFuture<?> |
ping(java.util.Collection<java.lang.String> sessions)
|
Method Detail |
---|
LogonResult logon(java.util.Properties connectionProperties) throws LogonException, TeiidComponentException, CommunicationException
LogonException
TeiidComponentException
CommunicationException
ResultsFuture<?> ping() throws InvalidSessionException, TeiidComponentException, CommunicationException
InvalidSessionException
- if the sessionID is invalid
ComponentNotFoundException
- if can't find the Session service.
TeiidComponentException
CommunicationException
ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions) throws TeiidComponentException, CommunicationException
TeiidComponentException
CommunicationException
ResultsFuture<?> logoff() throws InvalidSessionException, TeiidComponentException
InvalidSessionException
- If session has expired or doesn't exist
ComponentNotFoundException
- If couldn't find needed service component
TeiidComponentException
void assertIdentity(SessionToken sessionId) throws InvalidSessionException, TeiidComponentException, CommunicationException
InvalidSessionException
TeiidComponentException
CommunicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |