|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.plugins.db.MemoryDatabase
orca.sharp.plugins.db.MemoryClientDatabase
public class MemoryClientDatabase
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class orca.shirako.plugins.db.MemoryDatabase |
|---|
MemoryDatabase.SliceData |
| Field Summary |
|---|
| Fields inherited from class orca.shirako.plugins.db.MemoryDatabase |
|---|
actorName, inventorySlices, logger, resetState, slices |
| Constructor Summary | |
|---|---|
MemoryClientDatabase()
|
|
| Method Summary | |
|---|---|
void |
addClient(Client client)
Adds a new database record representing this client |
java.util.Vector |
getClient(java.lang.String name)
Retrieves the specified client record |
java.util.Vector |
getClients()
Retrieves all client records |
void |
removeClient(java.lang.String name)
Removes the specified client record |
void |
updateClient(Client client)
Updates the database record for the specified client |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryClientDatabase()
| Method Detail |
|---|
public void addClient(Client client)
throws java.lang.Exception
ClientDatabase
addClient in interface ClientDatabasejava.lang.Exception
public void updateClient(Client client)
throws java.lang.Exception
ClientDatabase
updateClient in interface ClientDatabasejava.lang.Exception
public void removeClient(java.lang.String name)
throws java.lang.Exception
ClientDatabase
removeClient in interface ClientDatabasejava.lang.Exception
public java.util.Vector getClient(java.lang.String name)
throws java.lang.Exception
ClientDatabase
getClient in interface ClientDatabasejava.lang.Exception
public java.util.Vector getClients()
throws java.lang.Exception
ClientDatabase
getClients in interface ClientDatabasejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||