public interface MessageSender
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the session of the sender
|
WriteFuture |
sendMessage(Message message,
PrepareSendHandler prepareSendHandler)
Send a message out to somewhere
|
WriteFuture sendMessage(Message message, PrepareSendHandler prepareSendHandler)
message - the message to sendprepareSendHandler - the prepare handler to call after the message is preparedtrue if the message was send out (does not guarantee a successful delivery!)void close()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0