org.teiid.transport
Class LogonImpl

java.lang.Object
  extended by org.teiid.transport.LogonImpl
All Implemented Interfaces:
ILogon

public class LogonImpl
extends java.lang.Object
implements ILogon


Constructor Summary
LogonImpl(SessionService service, java.lang.String clusterName)
           
 
Method Summary
 void assertIdentity(SessionToken checkSession)
           
 ResultsFuture<?> logoff()
           
 LogonResult logon(java.util.Properties connProps)
           
 ResultsFuture<?> ping()
           
 ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogonImpl

public LogonImpl(SessionService service,
                 java.lang.String clusterName)
Method Detail

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
Specified by:
logoff in interface ILogon
Throws:
InvalidSessionException

ping

public ResultsFuture<?> ping()
                      throws InvalidSessionException,
                             TeiidComponentException
Specified by:
ping in interface ILogon
Throws:
InvalidSessionException
TeiidComponentException

ping

public ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
                      throws TeiidComponentException,
                             CommunicationException
Specified by:
ping in interface ILogon
Throws:
TeiidComponentException
CommunicationException

assertIdentity

public void assertIdentity(SessionToken checkSession)
                    throws InvalidSessionException,
                           TeiidComponentException
Specified by:
assertIdentity in interface ILogon
Throws:
InvalidSessionException
TeiidComponentException


Copyright © 2011. All Rights Reserved.