Interface JeroMQSecurity
- All Known Implementing Classes:
JeroMQCurveSecurity
public interface JeroMQSecurity
Implements a security chain for JeroMQ Sockets.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JeroMQSecurityThe defaultJeroMQSecuritywhich simply returns theZMQ.Socketas provided with no alterations. -
Method Summary
Modifier and TypeMethodDescriptionorg.zeromq.ZMQ.SocketConfigures the socket for use as a client socket.default org.zeromq.ZMQ.Socketclient(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a client socket.org.zeromq.ZMQ.SocketConfigures the socket for use as a server socket.default org.zeromq.ZMQ.Socketserver(org.zeromq.ZMQ.Socket socket) Configures the socket for use as a server socket.
-
Field Details
-
DEFAULT
The defaultJeroMQSecuritywhich simply returns theZMQ.Socketas 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- theSupplierfor 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- theSupplierfor theZMQ.Socket- Returns:
- the socket
-