- SecurityMode - Enum in ch.awae.netcode
-
Defines the security constraints for the selected
SocketMode.
- send(Serializable) - Method in interface ch.awae.netcode.NetcodeClient
-
Send the given object to all members of the channel
- sendPrivately(String, Serializable) - Method in interface ch.awae.netcode.NetcodeClient
-
Send the given object to the member of the channel with the given userId.
- setAppIdValidator(Predicate<String>) - Method in class ch.awae.netcode.NetcodeServerFactory
-
Defines an application id validator.
- setChannelIdProvider(Supplier<String>) - Method in class ch.awae.netcode.NetcodeServerFactory
-
Defines a generator for channel ids.
- setEventHandler(ChannelEventHandler) - Method in interface ch.awae.netcode.NetcodeClient
-
Replaces the event handler.
- setEventHandler(ChannelEventHandler) - Method in class ch.awae.netcode.NetcodeClientFactory
-
- setMaxClients(int) - Method in class ch.awae.netcode.NetcodeServerFactory
-
specifies the connection backlog.
- setMessageHandler(MessageHandler) - Method in interface ch.awae.netcode.NetcodeClient
-
Replaces the message handler.
- setMessageHandler(MessageHandler) - Method in class ch.awae.netcode.NetcodeClientFactory
-
- setMode(SocketMode, SecurityMode) - Method in class ch.awae.netcode.NetcodeClientFactory
-
Specifies both the socket mode and the security mode to use for new
connections.
- setMode(SocketMode, SecurityMode) - Method in class ch.awae.netcode.NetcodeServerFactory
-
Specifies both the socket mode and the security mode to use for new
connections.
- setQuestionHandler(ClientQuestionHandler) - Method in interface ch.awae.netcode.NetcodeClient
-
Replaces the question handler.
- setQuestionHandler(ClientQuestionHandler) - Method in class ch.awae.netcode.NetcodeClientFactory
-
- setTimeout(long) - Method in interface ch.awae.netcode.NetcodeClient
-
Sets a new timeout for server commands and client questions.
- setTimeout(long) - Method in class ch.awae.netcode.NetcodeClientFactory
-
Sets a new timeout value to be used for server commands and client
questions.
- SocketMode - Enum in ch.awae.netcode
-
Defines the mode of operation for the underlying sockets.
- start() - Method in class ch.awae.netcode.NetcodeServerFactory
-
Start the server