public interface

InputHandler

uk.ac.imperial.presage2.core.messaging.InputHandler
Known Indirect Subclasses

Class Overview

An InputHandler processes Inputs. This is usually done in agents as Inputs are the unit of interagent communications.

Summary

Public Methods
abstract boolean canHandle(Input in)
Check if this Handler can handle the given Input
abstract void handle(Input in)
Handle the given Input.

Public Methods

public abstract boolean canHandle (Input in)

Check if this Handler can handle the given Input

Parameters
in Input to handle
Returns
  • true if it can, false otherwise.

public abstract void handle (Input in)

Handle the given Input.

Parameters
in Input to handle.