org.zeromq.jzmq.sockets
Class PushSocketBuilder
java.lang.Object
org.zeromq.jzmq.sockets.SocketBuilder
org.zeromq.jzmq.sockets.PushSocketBuilder
- All Implemented Interfaces:
- Bindable, Connectable
public class PushSocketBuilder
- extends SocketBuilder
| Methods inherited from class org.zeromq.jzmq.sockets.SocketBuilder |
getIdentity, getLinger, getRecvHWM, getSendHWM, getSocketType, getSwap, withIdentity, withLinger, withReceiveHWM, withSendHWM, withSwap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PushSocketBuilder
public PushSocketBuilder(ManagedContext context)
connect
public Socket connect(String url)
throws Exception
- Description copied from interface:
Connectable
- Connect to a url
- Specified by:
connect in interface Connectable- Specified by:
connect in class SocketBuilder
- Parameters:
url - the url to connect to
- Returns:
- the socket
- Throws:
Exception
bind
public Socket bind(String url)
throws Exception
- Specified by:
bind in interface Bindable- Specified by:
bind in class SocketBuilder
- Throws:
Exception
Copyright © 2013. All Rights Reserved.