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 Message
    Modifier and Type
    Method
    Description
    protected <M extends Message>
    M
    Client.receive(Class<M> type)
    This method blocks until the client receives a message of a given type from the server.
    Methods in edu.uky.cs.nil.tt that return Message
    Modifier and Type
    Method
    Description
    protected Message
    Client.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
    Modifier and Type
    Method
    Description
    void
    Agent.send(Message message)
    Encodes a message as JSON and sends it to the client via this agent's socket.
    protected void
    Client.send(Message message)
    This method sends a message to the server.
  • Uses of Message in edu.uky.cs.nil.tt.io

    Subclasses of Message in edu.uky.cs.nil.tt.io
    Modifier and Type
    Class
    Description
    class 
    The choice message is sent from an agent to the {edu.uky.cs.nil.tt.Server server} to signal what turn the agent wants to take.
    class 
    The connect message is sent from the {edu.uky.cs.nil.tt.Server server} to an agent as soon as the agent connects to give details about which story worlds and agents are available for play.
    class 
    The end message is sent from the {edu.uky.cs.nil.tt.Server server} to an agent to indicate that the session had ended and that they should now disconnect.
    class 
    The error message is sent from the {edu.uky.cs.nil.tt.Server server} to an agent if one of the agent's messages causes a problem or is incorrectly formatted.
    class 
    The join message is the first message sent from an agent to 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.
    class 
    The report message is sent from an agent to the {edu.uky.cs.nil.tt.Server server} to indicate the value of a question on a survey about the session they are playing.
    class 
    The start message is sent from the {edu.uky.cs.nil.tt.Server server} to an agent when a partner has been found and their session begins.
    class 
    The stop message can be sent from either the {edu.uky.cs.nil.tt.Server server} or the agent to indicate that no more turns will happen in the session (though reports may still happen) and that the session should end soon.
    class 
    The updates message is sent from the {edu.uky.cs.nil.tt.Server server} to an agent each time a turn is taken and the state of the story world changes.