public static final class SOMSubscriber.Server extends SOMEndPoint.Abstract implements SOMSubscriber
SOMSubscriber.Client, SOMSubscriber.ServerSOMEndPoint.Abstract| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes.
|
Optional<TopicInfo> |
getInfo()
Gets the topic info.
|
Optional<TopicServerImpl> |
getServer()
Gets the server.
|
Optional<URI> |
getServerURI()
Gets the server URI.
|
String |
getSOMName()
Gets the SOM name.
|
boolean |
isClosed()
Asks if closed.
|
boolean |
isOpen()
Asks if open.
|
boolean |
isRemote()
Asks if remote.
|
boolean |
isServer()
Asks if server.
|
boolean |
open()
Opens.
|
Serializable[] |
receive(int limit,
long timeout)
Receives messages.
|
void |
tearDown()
Tears down.
|
String |
toString() |
clearException, getException, setExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExceptionpublic void close()
close in interface SOMEndPointpublic Optional<TopicInfo> getInfo()
getInfo in interface SOMSubscriberpublic String getSOMName()
getSOMName in interface SOMEndPointpublic Optional<TopicServerImpl> getServer()
getServer in interface SOMEndPointpublic Optional<URI> getServerURI()
getServerURI in interface SOMEndPointpublic boolean isClosed()
isClosed in interface SOMEndPointpublic boolean isOpen()
isOpen in interface SOMEndPointpublic boolean isRemote()
isRemote in interface SOMEndPointpublic boolean isServer()
isServer in interface SOMEndPointpublic boolean open()
open in interface SOMEndPointpublic Serializable[] receive(int limit,
long timeout)
receive in interface SOMSubscriberlimit - The maximum number of messages.timeout - A time limit in millis to wait for the first message
(negative for infinite).public void tearDown()
tearDown in interface SOMEndPointpublic String toString()
toString in class ObjectCopyright © 2003-2019 Serge Brisson. All Rights Reserved.