public interface

Conversation

implements InputHandler
uk.ac.imperial.presage2.util.protocols.Conversation
Known Indirect Subclasses

Class Overview

A Conversation is a stateful exchange of messages between 2 or more agents.

Summary

Public Methods
abstract UUID getID()
abstract Set<NetworkAddress> getMembers()
abstract Role getRole()
Get your role in this conversation
abstract String getState()
abstract boolean isFinished()
[Expand]
Inherited Methods
From interface uk.ac.imperial.presage2.core.messaging.InputHandler

Public Methods

public abstract UUID getID ()

Returns
  • The conversation's unique key.

public abstract Set<NetworkAddress> getMembers ()

Returns

public abstract Role getRole ()

Get your role in this conversation

public abstract String getState ()

Returns
  • The state of this conversation.

public abstract boolean isFinished ()

Returns
  • True if the conversation has been completed.