public interface SocketMultiplexer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying collection of sockets.
|
org.zeromq.ZMQ.Socket |
get()
Returns the next available socket.
|
java.util.Collection<org.zeromq.ZMQ.Socket> |
getAll()
Returns all active sockets.
|
boolean |
isAvailable()
Returns true if the multiplexer has an available socket.
|
void |
update(java.util.List<org.fabric3.spi.federation.addressing.SocketAddress> addresses)
Replaces the previous list of available sockets with a new one.
|
void update(java.util.List<org.fabric3.spi.federation.addressing.SocketAddress> addresses)
addresses - the new socket addressesorg.zeromq.ZMQ.Socket get()
java.util.Collection<org.zeromq.ZMQ.Socket> getAll()
boolean isAvailable()
void close()