public interface SOMSender extends SOMEndPoint
Modifier and Type | Interface and Description |
---|---|
static class |
SOMSender.Client
Client.
|
static class |
SOMSender.Server
Server.
|
SOMEndPoint.Abstract
Modifier and Type | Method and Description |
---|---|
boolean |
commit()
Commits uncommitted messages.
|
Optional<QueueInfo> |
getInfo()
Gets the queue info.
|
boolean |
rollback()
Rolls back uncommitted messages
|
boolean |
send(Serializable[] messages,
boolean commit)
Sends messages.
|
close, getException, getServer, getServerURI, getSOMName, isClosed, isOpen, isRemote, isServer, open, tearDown
@CheckReturnValue boolean commit()
@Nonnull @CheckReturnValue Optional<QueueInfo> getInfo()
@CheckReturnValue boolean rollback()
@CheckReturnValue boolean send(@Nonnull Serializable[] messages, boolean commit)
messages
- The messages.commit
- If true, commits.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.