|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectphp.java.bridge.http.AbstractChannelName
public abstract class AbstractChannelName
Represents the pipe or socket channel name.
Constructor Summary | |
---|---|
AbstractChannelName(java.lang.String name,
java.lang.String kontext,
IContextFactory currentCtx)
Create a new ChannelName. |
Method Summary | |
---|---|
IContextFactory |
getCtx()
Return the |
java.lang.String |
getDefaultName()
Returns the default (persistent) name of the channel, if it exists. |
java.lang.String |
getKontext()
|
java.lang.String |
getName()
Returns the name of the channel, for example the socket # or the pipe name. |
boolean |
hasDefault()
Check if the default name exists, see X_JAVABRIDGE_CONTEXT_DEFAULT |
ContextRunner |
schedule()
Check if there's a persistent ContextRunner available for the kontext. |
boolean |
start()
Start a new ContextRunner for a given ContextServer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractChannelName(java.lang.String name, java.lang.String kontext, IContextFactory currentCtx)
name
- The name of the channel, see X_JAVABRIDGE_CHANNELkontext
- The name of client's default context, see X_JAVABRIDGE_CONTEXT_DEFAULTcurrentCtx
- The ContextFactory associated with the current request.Method Detail |
---|
public java.lang.String getName()
public java.lang.String getDefaultName()
getName()
public boolean hasDefault()
public IContextFactory getCtx()
public java.lang.String getKontext()
getDefaultName()
public ContextRunner schedule()
getDefaultName()
and
hasDefault()
.
public boolean start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |