Package org.zeromq
Class ZBeacon.Builder
java.lang.Object
org.zeromq.ZBeacon.Builder
- Enclosing class:
ZBeacon
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private boolean
private long
private Thread.UncaughtExceptionHandler
private InetAddress
private boolean
private ZBeacon.Listener
private int
private byte[]
private InetAddress
private Thread.UncaughtExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeacon
(byte[] beacon) blocking
(boolean blocking) Deprecated.ignoredbroadcastInterval
(long broadcastInterval) build()
Deprecated.client
(InetAddress host) ignoreLocalAddress
(boolean ignoreLocalAddress) listener
(ZBeacon.Listener listener) port
(int port) prefix
(byte[] prefix) server
(byte[] addr) Deprecated.server
(InetAddress addr) setClientUncaughtExceptionHandlers
(Thread.UncaughtExceptionHandler clientExHandler) setServerUncaughtExceptionHandlers
(Thread.UncaughtExceptionHandler serverExHandler)
-
Field Details
-
clientHost
-
serverAddr
-
port
private int port -
broadcastInterval
private long broadcastInterval -
beacon
private byte[] beacon -
ignoreLocalAddress
private boolean ignoreLocalAddress -
blocking
private boolean blocking -
listener
-
prefix
private byte[] prefix -
clientExHandler
-
serverExHandler
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
port
-
beacon
-
client
Deprecated. -
client
-
server
Deprecated. -
server
-
ignoreLocalAddress
-
blocking
Deprecated.ignored- Parameters:
blocking
-- Returns:
-
broadcastInterval
-
listener
-
prefix
-
setClientUncaughtExceptionHandlers
public ZBeacon.Builder setClientUncaughtExceptionHandlers(Thread.UncaughtExceptionHandler clientExHandler) -
setServerUncaughtExceptionHandlers
public ZBeacon.Builder setServerUncaughtExceptionHandlers(Thread.UncaughtExceptionHandler serverExHandler) -
build
-