Class JavaAgent.agent.MessageBuffer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaAgent.agent.MessageBuffer

java.lang.Object
   |
   +----JavaAgent.agent.MessageBuffer

public class MessageBuffer
extends Object
Class which provides synchronized storage for both incoming and outgoing messages. The add and remove methods are synchronized.


Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.



Constructor Index

 o MessageBuffer()

Method Index

 o add(KQMLmessage)
Add a message to the buffer.
 o get()
Remove a message for processing.

Constructors

 o MessageBuffer
  public MessageBuffer()

Methods

 o add
  public synchronized void add(KQMLmessage m)
Add a message to the buffer.
Parameters:
m - Message to be processed.
 o get
  public synchronized KQMLmessage get()
Remove a message for processing.
Returns:
Message to process.

All Packages  Class Hierarchy  This Package  Previous  Next  Index