Skip navigation links
C D G H I J M N R S V 

C

ch.awae.netcode - package ch.awae.netcode
 
ChannelConfiguration - Class in ch.awae.netcode
 
ChannelConfiguration() - Constructor for class ch.awae.netcode.ChannelConfiguration
 
clientJoined(String) - Method in interface ch.awae.netcode.MessageHandler
 
clientLeft(String) - Method in interface ch.awae.netcode.MessageHandler
 
close() - Method in interface ch.awae.netcode.NetcodeServer
Terminates the server and disconnects all connected clients.
ConnectionException - Exception in ch.awae.netcode
 
ConnectionException(String) - Constructor for exception ch.awae.netcode.ConnectionException
 
createChannel(String, ChannelConfiguration) - Method in class ch.awae.netcode.NetcodeClientFactory
 

D

disconnect() - Method in interface ch.awae.netcode.NetcodeClient
Disconnect and terminate the client.

G

get() - Method in class ch.awae.netcode.RandomStringGenerator
 
getChannelConfiguration() - Method in interface ch.awae.netcode.NetcodeClient
Get the configuration of the connected channel.
getDefault() - Static method in class ch.awae.netcode.ChannelConfiguration
 
getPayload() - Method in interface ch.awae.netcode.Message
 
getTime() - Method in interface ch.awae.netcode.Message
 
getUserId() - Method in interface ch.awae.netcode.Message
 
getUserId() - Method in interface ch.awae.netcode.NetcodeClient
Get the userId of this client.
getUsers() - Method in interface ch.awae.netcode.NetcodeClient
Get a list of all members of the channel.

H

handleMessage(Message) - Method in interface ch.awae.netcode.MessageHandler
 

I

isPrivateMessage() - Method in interface ch.awae.netcode.Message
 

J

joinChannel(String, String) - Method in class ch.awae.netcode.NetcodeClientFactory
 

M

Message - Interface in ch.awae.netcode
 
MessageHandler - Interface in ch.awae.netcode
 

N

NetcodeClient - Interface in ch.awae.netcode
 
NetcodeClientFactory - Class in ch.awae.netcode
 
NetcodeClientFactory(String, int, String) - Constructor for class ch.awae.netcode.NetcodeClientFactory
 
NetcodeServer - Interface in ch.awae.netcode
 
NetcodeServerFactory - Class in ch.awae.netcode
 
NetcodeServerFactory(int, SocketMode, SecurityMode) - Constructor for class ch.awae.netcode.NetcodeServerFactory
Creates a new factory instance
NetcodeServerFactory(int) - Constructor for class ch.awae.netcode.NetcodeServerFactory
 

R

RandomStringGenerator - Class in ch.awae.netcode
 
RandomStringGenerator(int) - Constructor for class ch.awae.netcode.RandomStringGenerator
 
runAfterBind(Consumer<Socket>) - Method in class ch.awae.netcode.NetcodeClientFactory
 
runAfterBind(Consumer<ServerSocket>) - Method in class ch.awae.netcode.NetcodeServerFactory
 

S

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.
setMaxClients(int) - Method in class ch.awae.netcode.NetcodeServerFactory
 
setMessageHandler(MessageHandler) - Method in interface ch.awae.netcode.NetcodeClient
Replace the message handler.
setMode(SocketMode, SecurityMode) - Method in class ch.awae.netcode.NetcodeClientFactory
 
SocketMode - Enum in ch.awae.netcode
Defines the mode of operation for the underlying sockets.
start() - Method in class ch.awae.netcode.NetcodeServerFactory
 

V

valueOf(String) - Static method in enum ch.awae.netcode.SecurityMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.awae.netcode.SocketMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.awae.netcode.SecurityMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ch.awae.netcode.SocketMode
Returns an array containing the constants of this enum type, in the order they are declared.
C D G H I J M N R S V 
Skip navigation links

Copyright © 2018. All Rights Reserved.