|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.target.GenericTarget
public class GenericTarget
An generic version of a Target
| Field Summary | |
|---|---|
protected java.util.logging.Logger |
logger
|
protected java.util.List<ITargetTun> |
targetTuns
|
protected java.util.List<UISocket> |
uiSockets
|
| Constructor Summary | |
|---|---|
GenericTarget(java.net.URL codeBase,
java.net.URI tdLocation)
Creates a new GenericTarget instance. |
|
| Method Summary | |
|---|---|
void |
abortSession(java.lang.String sessionId)
abortSession receives a call from UISocket and forwards it
to TargetTunManager |
ITargetTun |
bindToTargetTun(java.lang.String tunClassName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Binds the Target to a particular TUN |
java.lang.String |
generateSessionId()
Generates a unique session Id based on the number of sessions and the current time. |
java.lang.String |
getName()
Get the Name of the Target i.e. |
TargetSession |
getSessionById(java.lang.String sessionId)
Returns the TargetSession for the sessionId |
java.net.URI |
getTdUri()
Returns the URI for the target's TD document. |
java.util.List<UISocket> |
getUISockets()
Returns a list of the sockets currently being served by the target. |
void |
invokeLocator(java.lang.String locatorId)
Invokes the Locator of the Target |
void |
unbindTargetTun(java.lang.String tunClassName)
Unbinds the Target from a particular TUN |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.logging.Logger logger
protected java.util.List<ITargetTun> targetTuns
protected java.util.List<UISocket> uiSockets
| Constructor Detail |
|---|
public GenericTarget(java.net.URL codeBase,
java.net.URI tdLocation)
GenericTarget instance.
tdLocation - The URI for the TD Document.| Method Detail |
|---|
public java.lang.String generateSessionId()
ITarget
generateSessionId in interface ITargetpublic java.net.URI getTdUri()
ITarget
getTdUri in interface ITargetpublic java.util.List<UISocket> getUISockets()
ITarget
getUISockets in interface ITargetList of sockets currently being used by the
target.public void invokeLocator(java.lang.String locatorId)
ITarget
invokeLocator in interface ITargetpublic java.lang.String getName()
ITarget
getName in interface ITargetpublic TargetSession getSessionById(java.lang.String sessionId)
sessionId -
public void abortSession(java.lang.String sessionId)
throws UrcException
ITargetabortSession receives a call from UISocket and forwards it
to TargetTunManager
abortSession in interface ITargetsessionId - a String value
UrcException
public ITargetTun bindToTargetTun(java.lang.String tunClassName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws UrcException
tunClassName - Fully qualified TUN Class Nameparameters -
UrcException
public void unbindTargetTun(java.lang.String tunClassName)
throws UrcException
tunClassName - Fully qualified TUN Class Name
UrcException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||