Interface JeroMQSecurity
- All Known Implementing Classes:
JeroMQCurveSecurity
public interface JeroMQSecurity
Implements a security chain for JeroMQ Sockets.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JeroMQSecurity
The defaultJeroMQSecurity
which simply returns theZMQ.Socket
as provided with no alterations. -
Method Summary
Modifier and TypeMethodDescriptionorg.zeromq.ZMQ.Socket
Configures the socket for use as a client socket.default org.zeromq.ZMQ.Socket
client
(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a client socket.org.zeromq.ZMQ.Socket
Configures the socket for use as a server socket.default org.zeromq.ZMQ.Socket
server
(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a server socket.
-
Field Details
-
DEFAULT
The defaultJeroMQSecurity
which simply returns theZMQ.Socket
as provided with no alterations.
-
-
Method Details
-
server
default org.zeromq.ZMQ.Socket server(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a server socket.- Parameters:
socket
- the socket- Returns:
- the socket
-
server
Configures the socket for use as a server socket.- Parameters:
socketSupplier
- theSupplier
for theZMQ.Socket
- Returns:
- the socket
-
client
default org.zeromq.ZMQ.Socket client(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a client socket.- Parameters:
socket
- the socket- Returns:
- the socket
-
client
Configures the socket for use as a client socket.- Parameters:
socketSupplier
- theSupplier
for theZMQ.Socket
- Returns:
- the socket
-