# Package de.esprit.netsuite.netdata.agent

Contains base classes for implementing custom network agents

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Agent<C extends ClientContext,S extends ServerContext> | An Agent object is being sent within a `NetRequest` to the server for execution by calling one of its send... methods.
  AgentMessageListener | This defines the reaction method for receiving an Agent in a message
  AsyncAgent<C extends ClientContext,S extends ServerContext> | This interface adds support for running an agent asynchronously on the server.
  LoginAgent<C extends ClientContext,S extends ServerContext> | This interface must be implemented by the agent that is used for user login.
  PrintableAgent | This marker interface just combines `PrintableInMessage` and `PrintableInResponse` and thus marks an agent as printable when it is received in both either a response or a message.
  PrintableInMessage | This interface marks an agent as printable when it is received in a message
  PrintableInResponse | This interface marks an agent as printable when it is received in a response
  Sequenced | This interface is implemented by agents that send their results in multiple chunks to the client.
  TimeMeasurable | This interface defines what is necessary to measure the times relevant in an agent

- Class Summary
  Class | Description
  --- | ---
  AbstractAgent<C extends ClientContext,S extends ServerContext> | This is the abstract base class for all Agent implementations.
  AbstractCommonAgent<C extends ClientContext,S extends ServerContext> | Agents of this type are for common usage and supposed to be extended for custom applications.
  AbstractInternalAgent | This is a template for a UserAgent
  AbstractLockableAgent<C extends ClientContext,S extends ServerContext> | This agent has some convenience support for resource locking
  AbstractSequencedAgent<C extends ClientContext,S extends ServerContext> | This agent allows for sending huge results in multiple chunks to the client.
  AbstractTestAgent | This is the base class for agents that are used for testing purposes.
  AbstractTextViewAgent<C extends ClientContext,S extends ServerContext> | This Agent pops up a `TextEditorFrame` with the information it has fetched from the server.
  AgentErrorAdapter | This class prepares agent errors for displaying them.
  AgentGate<A extends AsyncAgent> | This finishedGate opens when the result message of a particular async `AsyncAgent` is received.
  AgentId | The AgentId object provides a globally unique agent identifier which is used to identify an asynchronously running agent on the server (i.e. for canceling).
  AgentResultPrinter | This class dumps the content of a `PrintableAgent` to the given console.
  LoadTextFileSequencedAgent | This agent reads a text file on server side and fills a client side `TextPrintable` component.
  SequencedAgentId | This is the AgentId of a sequence agent.
  StreamAgentId | This is a special agentId used by `FileStreamDownloadAgent`
  TransferAgentId | This is a special AgentId used by `FileTransferAgent`

## Package de.esprit.netsuite.netdata.agent Description

Contains base classes for implementing custom network agents

Copyright © 2014 EsprIT-Systems. All Rights Reserved.