edu.wisc.trace.urcsdk.target
Interface ITarget

All Known Implementing Classes:
GenericTarget

public interface ITarget


Method Summary
 void abortSession(java.lang.String sessionId)
          abortSession receives a call from UISocket and forwards it to TargetTunManager
 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.
 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
 

Method Detail

generateSessionId

java.lang.String generateSessionId()
Generates a unique session Id based on the number of sessions and the current time.

Returns:
The generated session Id

getTdUri

java.net.URI getTdUri()
Returns the URI for the target's TD document.

Returns:
The URI of the TD document.

getUISockets

java.util.List<UISocket> getUISockets()
Returns a list of the sockets currently being served by the target.

Returns:
A List of sockets currently being used by the target.

invokeLocator

void invokeLocator(java.lang.String locatorId)
Invokes the Locator of the Target

Parameters:
locatorId -

abortSession

void abortSession(java.lang.String sessionId)
                  throws UrcException
abortSession receives a call from UISocket and forwards it to TargetTunManager

Parameters:
sessionId - a String value
Throws:
UrcException

getName

java.lang.String getName()
Get the Name of the Target i.e. the value of the 'about' attribute of 'target' tag in the td.xml

Returns:
TargetName


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.