|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.core.intermud.IMudPeer
public class IMudPeer
Copyright (c) 1996 George Reese Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| Constructor Summary | |
|---|---|
IMudPeer()
|
|
| Method Summary | |
|---|---|
boolean |
isRestoring()
An implementation uses this to tell its Persistent that it is in the middle of restoring. |
void |
restore()
Gets data about this peer from storage and gives it back to the object for which this peer exists. |
void |
save()
Triggers a save of its peer. |
void |
setPersistent(Persistent ob)
Assigns a persistent object to this peer for persistence operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IMudPeer()
| Method Detail |
|---|
public void restore()
throws PersistenceException
restore in interface PersistentPeerPersistenceException - if an error occurs during restore
public void save()
throws PersistenceException
save in interface PersistentPeerPersistenceException - if a problem occurs in savingpublic void setPersistent(Persistent ob)
setPersistent in interface PersistentPeerob - the implementation of com.planet_ink.coffee_mud.core.intermud.persist.Persistent that this is a peer forPersistentpublic boolean isRestoring()
isRestoring in interface PersistentPeer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||