Package com.db4o.cs.internal
Interface ServerMessageDispatcher
-
- All Superinterfaces:
ClientConnection
,CommittedCallbackDispatcher
,MessageDispatcher
- All Known Implementing Classes:
ServerMessageDispatcherImpl
public interface ServerMessageDispatcher extends ClientConnection, MessageDispatcher, CommittedCallbackDispatcher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
caresAboutCommitted()
void
caresAboutCommitted(boolean care)
ClassInfoHelper
classInfoHelper()
boolean
close()
boolean
close(ShutdownMode mode)
void
closeConnection()
CallbackObjectInfoCollections
committedInfo()
int
dispatcherID()
void
join()
void
login()
void
mapQueryResultToID(LazyClientObjectSetStub stub, int queryResultId)
boolean
processMessage(Msg message)
void
queryResultFinalized(int queryResultID)
LazyClientObjectSetStub
queryResultForID(int queryResultID)
ObjectServerImpl
server()
void
setDispatcherName(java.lang.String name)
Socket4Adapter
socket()
void
switchToFile(MSwitchToFile file)
void
switchToMainFile()
Transaction
transaction()
void
useTransaction(MUseTransaction transaction)
boolean
write(Msg msg)
-
Methods inherited from interface com.db4o.cs.internal.ClientConnection
messageReceived, name
-
Methods inherited from interface com.db4o.internal.CommittedCallbackDispatcher
dispatchCommitted, willDispatchCommitted
-
Methods inherited from interface com.db4o.cs.internal.messages.MessageDispatcher
isMessageDispatcherAlive
-
-
-
-
Method Detail
-
queryResultFinalized
void queryResultFinalized(int queryResultID)
-
socket
Socket4Adapter socket()
-
dispatcherID
int dispatcherID()
-
queryResultForID
LazyClientObjectSetStub queryResultForID(int queryResultID)
-
switchToMainFile
void switchToMainFile()
-
switchToFile
void switchToFile(MSwitchToFile file)
-
useTransaction
void useTransaction(MUseTransaction transaction)
-
mapQueryResultToID
void mapQueryResultToID(LazyClientObjectSetStub stub, int queryResultId)
-
server
ObjectServerImpl server()
-
login
void login()
-
close
boolean close()
- Specified by:
close
in interfaceMessageDispatcher
-
close
boolean close(ShutdownMode mode)
-
closeConnection
void closeConnection()
-
caresAboutCommitted
void caresAboutCommitted(boolean care)
-
caresAboutCommitted
boolean caresAboutCommitted()
-
write
boolean write(Msg msg)
- Specified by:
write
in interfaceMessageDispatcher
-
committedInfo
CallbackObjectInfoCollections committedInfo()
-
classInfoHelper
ClassInfoHelper classInfoHelper()
-
processMessage
boolean processMessage(Msg message)
-
join
void join() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
setDispatcherName
void setDispatcherName(java.lang.String name)
-
transaction
Transaction transaction()
-
-