org.teiid.net
Interface ServerConnection

All Known Implementing Classes:
SocketServerConnection

public interface ServerConnection


Field Summary
static int PING_INTERVAL
           
 
Method Summary
 void authenticate()
           
 void cleanUp()
           
 void close()
           
 LogonResult getLogonResult()
           
<T> T
getService(java.lang.Class<T> iface)
           
 boolean isOpen(long msToTest)
           
 boolean isSameInstance(ServerConnection conn)
           
 

Field Detail

PING_INTERVAL

static final int PING_INTERVAL
See Also:
Constant Field Values
Method Detail

getService

<T> T getService(java.lang.Class<T> iface)

close

void close()

isOpen

boolean isOpen(long msToTest)

getLogonResult

LogonResult getLogonResult()

isSameInstance

boolean isSameInstance(ServerConnection conn)
                       throws CommunicationException
Throws:
CommunicationException

cleanUp

void cleanUp()

authenticate

void authenticate()
                  throws ConnectionException,
                         CommunicationException
Throws:
ConnectionException
CommunicationException


Copyright © 2011. All Rights Reserved.