Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ACCEPTED - Enum constant in enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
 

B

byteSize() - Method in interface nl.andrewl.concord_core.msg.Message
Convenience method to determine the size of this message in bytes.
byteSizeFunction - Variable in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
The field for the byteSizeFunction record component.
byteSizeFunction() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns the value of the byteSizeFunction record component.

C

ChainedDataOutputStream - Class in nl.andrewl.concord_core.util
A more complex output stream which redefines certain methods for convenience with method chaining.
ChainedDataOutputStream(DataOutputStream) - Constructor for class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
ChannelData(UUID, String) - Constructor for record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Creates an instance of a ChannelData record class.
channelId - Variable in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
The field for the channelId record component.
channelId - Variable in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
The field for the channelId record component.
channelId() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Returns the value of the channelId record component.
channelId() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Returns the value of the channelId record component.
channelName - Variable in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
The field for the channelName record component.
channelName() - Method in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Returns the value of the channelName record component.
channels - Variable in record class nl.andrewl.concord_core.msg.types.ServerMetaData
The field for the channels record component.
channels() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData
Returns the value of the channels record component.
Chat - Record Class in nl.andrewl.concord_core.msg.types.chat
This message contains information about a chat message that a user sent.
Chat(String) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.Chat
 
Chat(UUID, String, long, String) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.Chat
 
Chat(UUID, UUID, String, long, String) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.Chat
Creates an instance of a Chat record class.
Chat(UUID, Chat) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.Chat
 
ChatHistoryRequest - Record Class in nl.andrewl.concord_core.msg.types.chat
A message which clients can send to the server to request some messages from the server's history of all sent messages from a particular source.
ChatHistoryRequest(UUID) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
 
ChatHistoryRequest(UUID, String) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Creates an instance of a ChatHistoryRequest record class.
ChatHistoryRequest(UUID, Map<String, String>) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
 
ChatHistoryResponse - Record Class in nl.andrewl.concord_core.msg.types.chat
The response that a server sends to a ChatHistoryRequest.
ChatHistoryResponse(UUID, Chat[]) - Constructor for record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Creates an instance of a ChatHistoryResponse record class.
clientId - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
The field for the clientId record component.
clientId() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns the value of the clientId record component.
ClientLogin - Record Class in nl.andrewl.concord_core.msg.types.client_setup
This message is sent by clients to log into a server that they have already registered with, but don't have a valid session token for.
ClientLogin(String, String) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Creates an instance of a ClientLogin record class.
ClientRegistration - Record Class in nl.andrewl.concord_core.msg.types.client_setup
The data that new users should send to a server in order to register in that server.
ClientRegistration(String, String, String, String) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Creates an instance of a ClientRegistration record class.
ClientSessionResume - Record Class in nl.andrewl.concord_core.msg.types.client_setup
This message is sent by the client to log into a server using a session token instead of a username/password combination.
ClientSessionResume(String) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
Creates an instance of a ClientSessionResume record class.
computeSecretKey(byte[], byte[], byte[]) - Static method in class nl.andrewl.concord_core.msg.Encryption
 
concord_core - module concord_core
The core components that are used by both the Concord server and the default client implementation.
CreateThread - Record Class in nl.andrewl.concord_core.msg.types.channel
This message is sent by clients when they indicate that they would like to create a new thread in their current channel.
CreateThread(UUID, String) - Constructor for record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Creates an instance of a CreateThread record class.
currentChannelId - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
The field for the currentChannelId record component.
currentChannelId() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns the value of the currentChannelId record component.
currentChannelName - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
The field for the currentChannelName record component.
currentChannelName() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns the value of the currentChannelName record component.

D

description - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
The field for the description record component.
description() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns the value of the description record component.

E

Encryption - Class in nl.andrewl.concord_core.msg
Utility class for handling the establishment of encrypted communication.
Encryption() - Constructor for class nl.andrewl.concord_core.msg.Encryption
 
ENUM_BYTES - Static variable in class nl.andrewl.concord_core.msg.MessageUtils
 
equals(Object) - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.Error
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.ServerUsers
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.msg.types.UserData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.util.Pair
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class nl.andrewl.concord_core.util.Triple
Indicates whether some other object is "equal to" this one.
error(String) - Static method in record class nl.andrewl.concord_core.msg.types.Error
Creates an error message.
Error - Record Class in nl.andrewl.concord_core.msg.types
Error message which can be sent between either the server or client to indicate an unsavory situation.
Error(Error.Level, String) - Constructor for record class nl.andrewl.concord_core.msg.types.Error
Creates an instance of a Error record class.
ERROR - Enum constant in enum class nl.andrewl.concord_core.msg.types.Error.Level
 
Error.Level - Enum Class in nl.andrewl.concord_core.msg.types
The error level gives an indication as to the severity of the error.
ExtendedDataInputStream - Class in nl.andrewl.concord_core.util
An extended output stream which contains additional methods for reading more complex types that are used by the Concord system.
ExtendedDataInputStream(InputStream) - Constructor for class nl.andrewl.concord_core.util.ExtendedDataInputStream
 

F

first - Variable in record class nl.andrewl.concord_core.util.Pair
The field for the first record component.
first - Variable in record class nl.andrewl.concord_core.util.Triple
The field for the first record component.
first() - Method in record class nl.andrewl.concord_core.util.Pair
Returns the value of the first record component.
first() - Method in record class nl.andrewl.concord_core.util.Triple
Returns the value of the first record component.

G

generateByteSizeFunction(RecordComponent[]) - Static method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Generates a function implementation that counts the byte size of a message based on the message's record component types.
generatedMessageTypes - Static variable in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
 
generateForRecord(Class<T>) - Static method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Generates a message type instance for a given class, using reflection to introspect the fields of the message.
generateReader(Constructor<T>) - Static method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Generates a message reader for the given message constructor method.
generateWriter(RecordComponent[]) - Static method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Generates a message writer for the given message record components.
get(Class<T>) - Static method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Gets the MessageTypeSerializer instance for a given message class, and generates a new implementation if none exists yet.
getByteSize(Object) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
 
getByteSize(Object...) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
 
getByteSize(String) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
Gets the number of bytes that the given string will occupy when it is serialized.
getByteSize(String...) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
Gets the number of bytes that all the given strings will occupy when serialized with a length-prefix encoding.
getByteSize(Message) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
 
getByteSize(T[]) - Static method in class nl.andrewl.concord_core.msg.MessageUtils
 
getQueryAsMap() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Utility method to extract the query string's values as a key-value map.
getTypeSerializer() - Method in interface nl.andrewl.concord_core.msg.Message
Convenience method to get the serializer for this message's type, using the static auto-generated set of serializers.

H

hashCode() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.Error
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.ServerUsers
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.msg.types.UserData
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.util.Pair
Returns a hash code value for this object.
hashCode() - Method in record class nl.andrewl.concord_core.util.Triple
Returns a hash code value for this object.

I

id - Variable in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
The field for the id record component.
id - Variable in record class nl.andrewl.concord_core.msg.types.chat.Chat
The field for the id record component.
id - Variable in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
The field for the id record component.
id - Variable in record class nl.andrewl.concord_core.msg.types.UserData
The field for the id record component.
id() - Method in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Returns the value of the id record component.
id() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns the value of the id record component.
id() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Returns the value of the id record component.
id() - Method in record class nl.andrewl.concord_core.msg.types.UserData
Returns the value of the id record component.
inverseMessageTypes - Variable in class nl.andrewl.concord_core.msg.Serializer
An inverse of Serializer.messageTypes which is used to look up a message's byte value when you know the class of the message.
iv - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
The field for the iv record component.
iv() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Returns the value of the iv record component.

K

KeyData - Record Class in nl.andrewl.concord_core.msg.types.client_setup
This message is sent as the first message from both the server and the client to establish an end-to-end encryption via a key exchange.
KeyData(byte[], byte[], byte[]) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Creates an instance of a KeyData record class.

L

level - Variable in record class nl.andrewl.concord_core.msg.types.Error
The field for the level record component.
level() - Method in record class nl.andrewl.concord_core.msg.types.Error
Returns the value of the level record component.
Level() - Constructor for enum class nl.andrewl.concord_core.msg.types.Error.Level
 

M

message - Variable in record class nl.andrewl.concord_core.msg.types.chat.Chat
The field for the message record component.
message - Variable in record class nl.andrewl.concord_core.msg.types.Error
The field for the message record component.
message() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns the value of the message record component.
message() - Method in record class nl.andrewl.concord_core.msg.types.Error
Returns the value of the message record component.
Message - Interface in nl.andrewl.concord_core.msg
Represents any message which can be sent over the network.
messageClass - Variable in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
The field for the messageClass record component.
messageClass() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns the value of the messageClass record component.
messageId - Variable in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
The field for the messageId record component.
messageId() - Method in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Returns the value of the messageId record component.
MessageReader<T extends Message> - Interface in nl.andrewl.concord_core.msg
 
messages - Variable in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
The field for the messages record component.
messages() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Returns the value of the messages record component.
messageTypes - Variable in class nl.andrewl.concord_core.msg.Serializer
The mapping which defines each supported message type and the byte value used to identify it when reading and writing messages.
MessageTypeSerializer<T extends Message> - Record Class in nl.andrewl.concord_core.msg
Record containing the components needed to read and write a given message.
MessageTypeSerializer(Class<T>, Function<T, Integer>, MessageReader<T>, MessageWriter<T>) - Constructor for record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Creates an instance of a MessageTypeSerializer record class.
MessageUtils - Class in nl.andrewl.concord_core.msg
Utility class which provides method for serializing and deserializing complex data types.
MessageUtils() - Constructor for class nl.andrewl.concord_core.msg.MessageUtils
 
MessageWriter<T extends Message> - Interface in nl.andrewl.concord_core.msg
 
metaData - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
The field for the metaData record component.
metaData() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns the value of the metaData record component.
MoveToChannel - Record Class in nl.andrewl.concord_core.msg.types.channel
A message that's sent to a client when they've been moved to another channel.
MoveToChannel(UUID) - Constructor for record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
 
MoveToChannel(UUID, String) - Constructor for record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Creates an instance of a MoveToChannel record class.

N

name - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
The field for the name record component.
name - Variable in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
The field for the name record component.
name - Variable in record class nl.andrewl.concord_core.msg.types.ServerMetaData
The field for the name record component.
name - Variable in record class nl.andrewl.concord_core.msg.types.UserData
The field for the name record component.
name() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns the value of the name record component.
name() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Returns the value of the name record component.
name() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData
Returns the value of the name record component.
name() - Method in record class nl.andrewl.concord_core.msg.types.UserData
Returns the value of the name record component.
nl.andrewl.concord_core.msg - package nl.andrewl.concord_core.msg
Message components which are used by the server and the default client implementation.
nl.andrewl.concord_core.msg.types - package nl.andrewl.concord_core.msg.types
Contains all the various message types which can be sent between the server and client.
nl.andrewl.concord_core.msg.types.channel - package nl.andrewl.concord_core.msg.types.channel
Messages pertaining to channel interaction and updates.
nl.andrewl.concord_core.msg.types.chat - package nl.andrewl.concord_core.msg.types.chat
Messages pertaining to chat messages and other auxiliary messages regarding the management of chat information.
nl.andrewl.concord_core.msg.types.client_setup - package nl.andrewl.concord_core.msg.types.client_setup
Messages pertaining to the establishment of a connection with clients.
nl.andrewl.concord_core.util - package nl.andrewl.concord_core.util
Contains some useful one-off utility classes that any consumer of Concord messages could benefit from.

O

out - Variable in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 

P

Pair<A,B> - Record Class in nl.andrewl.concord_core.util
Simple generic pair of two objects.
Pair(A, B) - Constructor for record class nl.andrewl.concord_core.util.Pair
Creates an instance of a Pair record class.
password - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
The field for the password record component.
password - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
The field for the password record component.
password() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Returns the value of the password record component.
password() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns the value of the password record component.
pending() - Static method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
 
PENDING - Enum constant in enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
 
publicKey - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
The field for the publicKey record component.
publicKey() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Returns the value of the publicKey record component.

Q

query - Variable in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
The field for the query record component.
query() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Returns the value of the query record component.

R

read(ExtendedDataInputStream) - Method in interface nl.andrewl.concord_core.msg.MessageReader
Reads all of this message's properties from the given input stream.
readArray(MessageTypeSerializer<T>) - Method in class nl.andrewl.concord_core.util.ExtendedDataInputStream
 
readEnum(Class<T>) - Method in class nl.andrewl.concord_core.util.ExtendedDataInputStream
 
reader - Variable in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
The field for the reader record component.
reader() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns the value of the reader record component.
readMessage(InputStream) - Method in class nl.andrewl.concord_core.msg.Serializer
Reads a message from the given input stream and returns it, or throws an exception if an error occurred while reading from the stream.
readObject(Class<?>) - Method in class nl.andrewl.concord_core.util.ExtendedDataInputStream
Reads an object from the stream that is of a certain expected type.
readString() - Method in class nl.andrewl.concord_core.util.ExtendedDataInputStream
 
readUUID() - Method in class nl.andrewl.concord_core.util.ExtendedDataInputStream
 
reason - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
The field for the reason record component.
reason() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Returns the value of the reason record component.
registerType(int, Class<T>) - Method in class nl.andrewl.concord_core.msg.Serializer
Helper method which registers a message type to be supported by the serializer, by adding it to the normal and inverse mappings.
RegistrationStatus - Record Class in nl.andrewl.concord_core.msg.types.client_setup
A response from the server which indicates the current status of the client's registration request.
RegistrationStatus(RegistrationStatus.Type, String) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Creates an instance of a RegistrationStatus record class.
RegistrationStatus.Type - Enum Class in nl.andrewl.concord_core.msg.types.client_setup
 
REJECTED - Enum constant in enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
 

S

salt - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
The field for the salt record component.
salt() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Returns the value of the salt record component.
second - Variable in record class nl.andrewl.concord_core.util.Pair
The field for the second record component.
second - Variable in record class nl.andrewl.concord_core.util.Triple
The field for the second record component.
second() - Method in record class nl.andrewl.concord_core.util.Pair
Returns the value of the second record component.
second() - Method in record class nl.andrewl.concord_core.util.Triple
Returns the value of the second record component.
senderId - Variable in record class nl.andrewl.concord_core.msg.types.chat.Chat
The field for the senderId record component.
senderId() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns the value of the senderId record component.
senderNickname - Variable in record class nl.andrewl.concord_core.msg.types.chat.Chat
The field for the senderNickname record component.
senderNickname() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns the value of the senderNickname record component.
Serializer - Class in nl.andrewl.concord_core.msg
This class is responsible for reading and writing messages from streams.
Serializer() - Constructor for class nl.andrewl.concord_core.msg.Serializer
Constructs a new serializer instance, with a standard set of supported message types.
ServerMetaData - Record Class in nl.andrewl.concord_core.msg.types
Metadata is sent by the server to clients to inform them of the structure of the server.
ServerMetaData(String, ServerMetaData.ChannelData[]) - Constructor for record class nl.andrewl.concord_core.msg.types.ServerMetaData
Creates an instance of a ServerMetaData record class.
ServerMetaData.ChannelData - Record Class in nl.andrewl.concord_core.msg.types
Metadata about a top-level channel in the server which is visible and joinable for a user.
ServerUsers - Record Class in nl.andrewl.concord_core.msg.types
This message is sent from the server to the client whenever a change happens which requires the server to notify clients about a change of the list of global users.
ServerUsers(UserData[]) - Constructor for record class nl.andrewl.concord_core.msg.types.ServerUsers
Creates an instance of a ServerUsers record class.
ServerWelcome - Record Class in nl.andrewl.concord_core.msg.types.client_setup
This message is sent from the server to the client after the server accepts the client's identification and registers the client in the server.
ServerWelcome(UUID, String, UUID, String, ServerMetaData) - Constructor for record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Creates an instance of a ServerWelcome record class.
sessionToken - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
The field for the sessionToken record component.
sessionToken - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
The field for the sessionToken record component.
sessionToken() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
Returns the value of the sessionToken record component.
sessionToken() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns the value of the sessionToken record component.

T

third - Variable in record class nl.andrewl.concord_core.util.Triple
The field for the third record component.
third() - Method in record class nl.andrewl.concord_core.util.Triple
Returns the value of the third record component.
timestamp - Variable in record class nl.andrewl.concord_core.msg.types.chat.Chat
The field for the timestamp record component.
timestamp() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns the value of the timestamp record component.
title - Variable in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
The field for the title record component.
title() - Method in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Returns the value of the title record component.
toString() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.channel.CreateThread
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.channel.MoveToChannel
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.chat.Chat
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryRequest
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.chat.ChatHistoryResponse
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientSessionResume
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.KeyData
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ServerWelcome
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.Error
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData.ChannelData
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.ServerMetaData
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.ServerUsers
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.msg.types.UserData
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.util.Pair
Returns a string representation of this record class.
toString() - Method in record class nl.andrewl.concord_core.util.Triple
Returns a string representation of this record class.
Triple<A,B,C> - Record Class in nl.andrewl.concord_core.util
Simple generic triple of objects.
Triple(A, B, C) - Constructor for record class nl.andrewl.concord_core.util.Triple
Creates an instance of a Triple record class.
type - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
The field for the type record component.
type() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus
Returns the value of the type record component.
Type() - Constructor for enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
 

U

upgrade(InputStream, OutputStream, Serializer) - Static method in class nl.andrewl.concord_core.msg.Encryption
Upgrades the given input and output streams to a pair of cipher input and output streams.
UserData - Record Class in nl.andrewl.concord_core.msg.types
Standard set of user data that is used mainly as a component of other more complex messages.
UserData(UUID, String) - Constructor for record class nl.andrewl.concord_core.msg.types.UserData
Creates an instance of a UserData record class.
username - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
The field for the username record component.
username - Variable in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
The field for the username record component.
username() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientLogin
Returns the value of the username record component.
username() - Method in record class nl.andrewl.concord_core.msg.types.client_setup.ClientRegistration
Returns the value of the username record component.
users - Variable in record class nl.andrewl.concord_core.msg.types.ServerUsers
The field for the users record component.
users() - Method in record class nl.andrewl.concord_core.msg.types.ServerUsers
Returns the value of the users record component.
UUID_BYTES - Static variable in class nl.andrewl.concord_core.msg.MessageUtils
 

V

valueOf(String) - Static method in enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nl.andrewl.concord_core.msg.types.Error.Level
Returns the enum constant of this class with the specified name.
values() - Static method in enum class nl.andrewl.concord_core.msg.types.client_setup.RegistrationStatus.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nl.andrewl.concord_core.msg.types.Error.Level
Returns an array containing the constants of this enum class, in the order they are declared.

W

warning(String) - Static method in record class nl.andrewl.concord_core.msg.types.Error
Creates a warning message.
WARNING - Enum constant in enum class nl.andrewl.concord_core.msg.types.Error.Level
 
write(T, ChainedDataOutputStream) - Method in interface nl.andrewl.concord_core.msg.MessageWriter
Writes this message to the given output stream.
writeArray(T[]) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeEnum(Enum<?>) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeInt(int) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeMessage(Message) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeMessage(Message, OutputStream) - Method in class nl.andrewl.concord_core.msg.Serializer
Writes a message to the given output stream.
writeObject(Object, Class<?>) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
Writes an object to the stream.
writer - Variable in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
The field for the writer record component.
writer() - Method in record class nl.andrewl.concord_core.msg.MessageTypeSerializer
Returns the value of the writer record component.
writeString(String) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeStrings(String...) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
writeUUID(UUID) - Method in class nl.andrewl.concord_core.util.ChainedDataOutputStream
 
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values