zeus.agents
Class DbProxy

java.lang.Object
  extended byzeus.agents.BasicAgent
      extended byzeus.agents.DbProxy

public class DbProxy
extends BasicAgent

The implementation of the Zeus Database Proxy agent, which provides Visualiser agents with a means of persistently storing agent session information. A Database Proxy can serve as an interface to a 3rd party database using the PersistentStore interface, or it can store the session information its own ASCII file format (FlatFile.

It is unlikely that users will need to change or call directly any of the methods of this class.


Field Summary
protected  PersistentStore proxy
           
 
Fields inherited from class zeus.agents.BasicAgent
context, CREATE, DEATH, RESUME, SUSPEND
 
Constructor Summary
DbProxy(java.lang.String name, java.util.Vector nameservers, PersistentStore proxy)
           
 
Method Summary
 void db_close(Performative msg)
           
 void db_count(Performative msg)
           
 void db_create(Performative msg)
           
 void db_delete(Performative msg)
           
 void db_first(Performative msg)
           
 void db_last(Performative msg)
           
 void db_list(Performative msg)
           
 void db_next(Performative msg)
           
 void db_open(Performative msg)
           
 void db_prior(Performative msg)
           
 void db_purge(Performative msg)
           
 void db_save(Performative msg)
           
 void db_sessions(Performative msg)
           
static void main(java.lang.String[] arg)
           
 void sendMsg(Performative msg)
           
protected static void usage()
           
protected static void version()
           
 
Methods inherited from class zeus.agents.BasicAgent
addAgentMonitor, addMessageMonitor, getAgentContext, notifyMonitors, removeAgentMonitor, removeMessageMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxy

protected PersistentStore proxy
Constructor Detail

DbProxy

public DbProxy(java.lang.String name,
               java.util.Vector nameservers,
               PersistentStore proxy)
Method Detail

sendMsg

public void sendMsg(Performative msg)

db_create

public void db_create(Performative msg)

db_delete

public void db_delete(Performative msg)

db_purge

public void db_purge(Performative msg)

db_open

public void db_open(Performative msg)

db_save

public void db_save(Performative msg)

db_close

public void db_close(Performative msg)

db_next

public void db_next(Performative msg)

db_prior

public void db_prior(Performative msg)

db_first

public void db_first(Performative msg)

db_last

public void db_last(Performative msg)

db_sessions

public void db_sessions(Performative msg)

db_list

public void db_list(Performative msg)

db_count

public void db_count(Performative msg)

version

protected static void version()

usage

protected static void usage()

main

public static void main(java.lang.String[] arg)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.