public class OmqServerImpl extends RemoteObject implements ServerInterface
| Constructor and Description |
|---|
OmqServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHp(int hp) |
void |
addWheels(int numWheels) |
int |
getHp() |
int |
getPrice() |
int |
getWheels() |
void |
setPrice(int price) |
getChannel, getParams, getRef, invokeMethod, kill, run, startRemoteObjectactiveCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void addWheels(int numWheels)
addWheels in interface ServerInterfacepublic void addHp(int hp)
addHp in interface ServerInterfacepublic int getHp()
getHp in interface ServerInterfacepublic int getWheels()
getWheels in interface ServerInterfacepublic void setPrice(int price)
setPrice in interface ServerInterfacepublic int getPrice()
getPrice in interface ServerInterface