org.teiid.transport
Class LogonImpl
java.lang.Object
org.teiid.transport.LogonImpl
- All Implemented Interfaces:
- ILogon
public class LogonImpl
- extends java.lang.Object
- implements ILogon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogonImpl
public LogonImpl(SessionServiceInterface service,
java.lang.String clusterName)
logon
public LogonResult logon(java.util.Properties connProps)
throws LogonException,
ComponentNotFoundException
- Specified by:
logon
in interface ILogon
- Throws:
LogonException
ComponentNotFoundException
logoff
public ResultsFuture<?> logoff()
throws InvalidSessionException
- Description copied from interface:
ILogon
- Log off the specified session.
- Specified by:
logoff
in interface ILogon
- Throws:
InvalidSessionException
- If session has expired or doesn't exist
ping
public ResultsFuture<?> ping()
throws InvalidSessionException,
MetaMatrixComponentException
- Description copied from interface:
ILogon
- Ping the server to see if the client-server connection is alive.
- Specified by:
ping
in interface ILogon
- Throws:
InvalidSessionException
- if the sessionID is invalid
ComponentNotFoundException
- if can't find the Session service.
MetaMatrixComponentException
assertIdentity
public void assertIdentity(SessionToken sessionId)
throws InvalidSessionException,
MetaMatrixComponentException
- Specified by:
assertIdentity
in interface ILogon
- Throws:
InvalidSessionException
MetaMatrixComponentException
Copyright © 2009. All Rights Reserved.