Uses of Class
edu.uky.cs.nil.tt.io.Message
Packages that use Message
Package
Description
Tandem Tales is a platform that enables short, paired storytelling
exercises between two agents over a network.
The IO (input/output) package defines the various
message
types that can be sent between a server and client and provide some utilities
for serializing and deserializing objects as JSON.-
Uses of Message in edu.uky.cs.nil.tt
Methods in edu.uky.cs.nil.tt with type parameters of type MessageModifier and TypeMethodDescriptionprotected <M extends Message>
MThis method blocks until the client receives a message of a given type from the server.Methods in edu.uky.cs.nil.tt that return MessageModifier and TypeMethodDescriptionprotected MessageClient.receive()This method blocks until the client receives a message from the server and then returns that message.Methods in edu.uky.cs.nil.tt with parameters of type Message -
Uses of Message in edu.uky.cs.nil.tt.io
Subclasses of Message in edu.uky.cs.nil.tt.ioModifier and TypeClassDescriptionclassThe choice message is sent from anagentto the {edu.uky.cs.nil.tt.Server server} to signal what turn the agent wants to take.classThe connect message is sent from the {edu.uky.cs.nil.tt.Server server} to anagentas soon as the agent connects to give details about which story worlds and agents are available for play.classThe end message is sent from the {edu.uky.cs.nil.tt.Server server} to anagentto indicate that the session had ended and that they should now disconnect.classThe error message is sent from the {edu.uky.cs.nil.tt.Server server} to anagentif one of the agent's messages causes a problem or is incorrectly formatted.classThe join message is the first message sent from anagentto the {edu.uky.cs.nil.tt.Server server} to provide the agent's credentials and its preferences for what story world, role, and partner they want for their session.classThe report message is sent from anagentto the {edu.uky.cs.nil.tt.Server server} to indicate the value of a question on a survey about the session they are playing.classThe start message is sent from the {edu.uky.cs.nil.tt.Server server} to anagentwhen a partner has been found and their session begins.classclassThe updates message is sent from the {edu.uky.cs.nil.tt.Server server} to anagenteach time a turn is taken and the state of the story world changes.