db4o 6.1

com.db4o.messaging
Interface MessageSender


public interface MessageSender

message sender 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.

See the sample in ../com/db4o/samples/messaging/ on how to use the messaging feature. It is also used to stop the server in ../com/db4o/samples/clientserver/StopServer.java

See Also:
com.db4o.config.Configuration#getMessageSender(),
MessageRecipient,
com.db4o.config.Configuration#setMessageRecipient(MessageRecipient)


Method Summary
 void send(java.lang.Object obj)
          sends a message to the server.
 

Method Detail

send

void send(java.lang.Object obj)
sends a message to the server.

Parameters:
obj - the message parameter, any object may be used.

db4o 6.1