public static final class TopicProxy.Publisher extends TopicProxy implements PublisherSession
| Modifier and Type | Class and Description |
|---|---|
static class |
TopicProxy.Publisher.Builder
Builder.
|
TopicProxy.Publisher, TopicProxy.SubscriberSOMProxy.ContextPropertiesSessionProxy.Listener, SessionProxy.SessionConnectVetoExceptionSession.ConnectionModePASSWORD_PROPERTY, TIMEOUT_PROPERTY, USER_PROPERTY| Modifier and Type | Method and Description |
|---|---|
protected Session |
createSession()
Creates a session.
|
static TopicProxy.Publisher.Builder |
newBuilder()
Returns a new builder.
|
void |
send(Serializable[] messages)
Sends messages.
|
protected String |
sessionMode()
Returns some session mode identifying text.
|
getInfoclose, confirmTimeout, connect, disconnect, getSOMName, isClosedgetClientName, getConnectionMode, getContext, getContextUUID, getFactory, getServerName, getServerURI, getSession, getThisLogger, hasLoginInfo, isConnected, isPrivate, isRemote, lockConnect, lockConnectInterruptibly, login, logout, sessionException, tearDown, unlockConnectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosegetConnectionMode, login, logout@Nonnull @CheckReturnValue public static TopicProxy.Publisher.Builder newBuilder()
public void send(@Nonnull
Serializable[] messages)
throws SessionException
send in interface PublisherSessionmessages - The messages.SessionException - From session security check.protected Session createSession() throws RemoteException, SessionException
createSession in class TopicProxyRemoteException - From RMI.SessionException - When session creation fails.protected String sessionMode()
sessionMode in class SessionProxyCopyright © 2003-2019 Serge Brisson. All Rights Reserved.