org.zeromq.jzmq.sockets
Class PullSocketBuilder

java.lang.Object
  extended by org.zeromq.jzmq.sockets.SocketBuilder
      extended by org.zeromq.jzmq.sockets.PullSocketBuilder
All Implemented Interfaces:
Bindable, Connectable

public class PullSocketBuilder
extends SocketBuilder


Constructor Summary
PullSocketBuilder(ManagedContext context)
           
 
Method Summary
 Socket bind(String url)
           
 Socket connect(String url)
          Connect to a url
 
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
 

Constructor Detail

PullSocketBuilder

public PullSocketBuilder(ManagedContext context)
Method Detail

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.