public interface MessageSender
Modifier and Type | Interface and Description |
---|---|
static interface |
MessageSender.Fast
An interface whose implementations would transmit messages fast but
unreliably to the remote machine/vm.
|
static interface |
MessageSender.Reliable
An interface whose implementations would transmit messages reliably to
the remote machine/vm.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Since message sender would have a network connection, it would require
some cleanup.
|
DeliveryGuaranty |
getDeliveryGuaranty()
Returns the delivery guaranty of the implementation.
|
Object |
sendMessage(Object message)
This method delegates to the underlying native session object to send a
message to the client.
|
Object sendMessage(Object message)
message
- The message to be sent to client.DeliveryGuaranty getDeliveryGuaranty()
void close()
Copyright © 2013. All Rights Reserved.