org.neodatis.odb.core.server.connection
Class ClientServerConnection
java.lang.Object
org.neodatis.odb.core.server.connection.ClientServerConnection
- Direct Known Subclasses:
- DefaultConnectionThread, SameVmConnection
public abstract class ClientServerConnection
- extends java.lang.Object
The abstract class that manages the client server connections. It is message
based and it manages all the client server messages.
- Author:
- olivier s
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionIsUp
protected boolean connectionIsUp
baseIdentifier
protected java.lang.String baseIdentifier
connectionId
protected java.lang.String connectionId
debug
protected boolean debug
automaticallyCreateDatabase
protected boolean automaticallyCreateDatabase
server
protected IODBServerExt server
sessionManager
protected ISessionManager sessionManager
ClientServerConnection
public ClientServerConnection(IODBServerExt server,
boolean automaticallyCreateDatabase)
getName
public abstract java.lang.String getName()
manageMessage
public Message manageMessage(Message message)
- The main method. It is the message dispatcher. Checks the message type
and calls the right message handler.
- Parameters:
message
-
- Returns:
getSession
public ServerSession getSession(java.lang.String baseIdentifier)
clearMessageStreamerCache
public abstract void clearMessageStreamerCache()