public class BinaryStarSocketBuilder extends DealerSocketBuilder
Modifier and Type | Class and Description |
---|---|
class |
BinaryStarSocketBuilder.Spec |
SocketBuilder.SocketSpec
context, socketSpec
Constructor and Description |
---|
BinaryStarSocketBuilder(ManagedContext context) |
Modifier and Type | Method and Description |
---|---|
Socket |
bind(String url,
String... additionalUrls)
Bind to a url.
|
Socket |
connect(String url,
String... additionalUrls)
Connect to a url.
|
BinaryStarSocketBuilder |
withHeartbeatInterval(long heartbeatInterval) |
asRoutable, asSubscribable, bind, bind, connect, connect, createBindableSocketWithStandardSettings, createConnectableSocketWithStandardSettings, getIdentity, getLinger, getReceiveHighWaterMark, getSendHighWaterMark, getSocketSpec, getSocketType, getSwap, newManagedSocket, withBackgroundable, withIdentity, withLinger, withLinger, withReceiveHighWatermark, withReceiveHighWatermark, withReceiveTimeout, withSendHighWatermark, withSendHighWatermark, withSendTimeout, withSwap
public BinaryStarSocketBuilder(ManagedContext context)
public BinaryStarSocketBuilder withHeartbeatInterval(long heartbeatInterval)
public Socket connect(String url, String... additionalUrls)
Connectable
connect
in interface Connectable
connect
in class SocketBuilder
url
- the url to connect toadditionalUrls
- additional urls to connect topublic Socket bind(String url, String... additionalUrls)
Bindable
bind
in interface Bindable
bind
in class SocketBuilder
url
- the url to bind toadditionalUrls
- additional urls to bind toCopyright © 2019. All rights reserved.