|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.common.command.AbstractCommand
public abstract class AbstractCommand
Abstract command.
Field Summary | |
---|---|
protected String |
mnemonic
Command's mnemonic |
protected org.abstracthorizon.danube.service.server.SocketConnection |
session
Session |
Constructor Summary | |
---|---|
AbstractCommand(String mnemonic)
Constructor |
Method Summary | |
---|---|
String |
getMnemonic()
Returns mnemonic |
org.abstracthorizon.danube.service.server.SocketConnection |
getSession()
Returns session |
void |
init(org.abstracthorizon.danube.service.server.SocketConnection session)
Sets session |
protected void |
setSession(org.abstracthorizon.danube.service.server.SocketConnection session)
Sets session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.abstracthorizon.danube.service.server.SocketConnection session
protected String mnemonic
Constructor Detail |
---|
public AbstractCommand(String mnemonic)
mnemonic
- mnemonicMethod Detail |
---|
public org.abstracthorizon.danube.service.server.SocketConnection getSession()
protected void setSession(org.abstracthorizon.danube.service.server.SocketConnection session)
session
- sessionpublic String getMnemonic()
public void init(org.abstracthorizon.danube.service.server.SocketConnection session)
init
in interface Command
session
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |