com.db4o.messaging
Interface MessageRecipient
public interface MessageRecipient
message recipient for client/server messaging.
db4o allows using the client/server TCP connection to send
messages from the client to the server. Any object that can be
stored to a db4o database file may be used as a message.
For an example see Reference documentation:
http://developer.db4o.com/Resources/view.aspx/Reference/Client-Server/Messaging
http://developer.db4o.com/Resources/view.aspx/Reference/Client-Server/Remote_Code_Execution
See Also:
Configuration.setMessageRecipient(MessageRecipient)
,
MessageSender
,
com.db4o.config.Configuration#getMessageSender()
,
processMessage
void processMessage(ObjectContainer con,
java.lang.Object message)
- the method called upon the arrival of messages.
- Parameters:
con
- the ObjectContainer the message was sent to.message
- the message received.