|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.io.MOServerPersistence
public class MOServerPersistence
The MOServerPersistence provides persistence operations
to load and save serialized MIB data.
| Constructor Summary | |
|---|---|
MOServerPersistence(MOServer server)
|
|
MOServerPersistence(MOServer[] moServers)
|
|
| Method Summary | |
|---|---|
void |
loadData(MOInput input)
|
void |
saveData(MOOutput output)
Saves the serializable data of the associated servers to the given MOOutput. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MOServerPersistence(MOServer server)
public MOServerPersistence(MOServer[] moServers)
| Method Detail |
|---|
public void loadData(MOInput input)
throws java.io.IOException
java.io.IOException
public void saveData(MOOutput output)
throws java.io.IOException
MOOutput. This method can be called while the registrations
of the MOServers are changed, because MOServer.iterator()
is synchronized and returns a copy tree of the registered objects.
output - a MOOutput instance to store the data.
java.io.IOException - if the output stream cannot be written.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||