|
Knopflerfish OSGi 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Control interface for a command session.
ConsoleService
Field Summary | |
static java.lang.String |
PROPERTY_AUTHORIZATION
Constant for the session property that is the session's Authorization object. |
static java.lang.String |
PROPERTY_EXIT_ON_LOGOUT
Constant for the session property that indicates that the session should be closed if the user logs out. |
static java.lang.String |
PROPERTY_TCP
Constant for the session property that indicates that the session is a TCP session. |
Method Summary | |
void |
abortCommand()
Abort current command in session. |
void |
addSessionListener(SessionListener l)
Add session event listener. |
void |
close()
Close session. |
char |
getEscapeChar()
Get escape character. |
java.lang.String |
getInterruptString()
Get interrupt string. |
java.lang.String |
getName()
Get session name. |
java.util.Dictionary |
getProperties()
Returns the property information tied to this session. |
void |
removeSessionListener(SessionListener l)
Remove session event listener. |
void |
setEscapeChar(char ch)
Set escape character. |
void |
setInterruptString(java.lang.String str)
Set interrupt string. |
Field Detail |
public static final java.lang.String PROPERTY_AUTHORIZATION
public static final java.lang.String PROPERTY_TCP
public static final java.lang.String PROPERTY_EXIT_ON_LOGOUT
Method Detail |
public void abortCommand()
java.lang.IllegalStateException
- If this session is closed.public char getEscapeChar()
java.lang.IllegalStateException
- If this session is closed.setEscapeChar(char)
public void setEscapeChar(char ch)
ch
- new escape character
java.lang.IllegalStateException
- If this session is closed.public java.lang.String getInterruptString()
java.lang.IllegalStateException
- If this session is closed.setInterruptString(java.lang.String)
public void setInterruptString(java.lang.String str)
abortCommand()
for this session.
str
- new interrupt string
java.lang.IllegalStateException
- If this session is closed.public java.lang.String getName()
public void close()
public void addSessionListener(SessionListener l)
l
- session listener
java.lang.IllegalStateException
- If this session is closed.public void removeSessionListener(SessionListener l)
l
- session listener
java.lang.IllegalStateException
- If this session is closed.addSessionListener(org.knopflerfish.service.console.SessionListener)
public java.util.Dictionary getProperties()
|
Knopflerfish OSGi 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |