Package | Description |
---|---|
org.zeromq | |
org.zeromq.api | |
org.zeromq.jzmq.poll |
Modifier and Type | Method and Description |
---|---|
static Poller |
Sockets.newPoller(PollListener listener,
List<Socket> sockets,
List<SelectableChannel> channels)
Create a ØMQ Poller with a single PollListener which handles incoming
messages from the given ØMQ Sockets and SelectableChannels.
|
static Poller |
Sockets.newPoller(PollListener listener,
SelectableChannel... channels)
Create a ØMQ Poller with a single PollListener which handles incoming
messages from the given SelectableChannels.
|
static Poller |
Sockets.newPoller(PollListener listener,
Socket... sockets)
Create a ØMQ Poller with a single PollListener which handles incoming
messages from the given ØMQ Sockets.
|
static Poller |
Sockets.newPoller(PollListener listener,
Socket socket,
SelectableChannel channel)
Create a ØMQ Poller with a single PollListener which handles incoming
messages from the given ØMQ Socket and SelectableChannel.
|
Modifier and Type | Class and Description |
---|---|
class |
PollAdapter
An abstract class for implementing a
PollListener . |
Modifier and Type | Method and Description |
---|---|
int |
Poller.register(Pollable pollable,
PollListener listener)
Register a new poll item.
|
Constructor and Description |
---|
PollerImpl(ManagedContext context,
Map<Pollable,PollListener> pollableMap) |
Copyright © 2019. All rights reserved.