|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.TargetMirror
public class TargetMirror
TargetMirror is the Target class. It contains all Target-wide
settings, methods for accessing a Target's sockets, and ties to the TUN-level
for lower-level network access.
Created on: Aug 31, 2004
| Constructor Summary | |
|---|---|
TargetMirror(java.net.URI tdURI,
java.lang.String targetId,
IClientTun tun)
Creates a new Target instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDomain()
getDomain returns a targetDirectory's 'about' tag |
IResource |
getLabel(UserPreferences prefs)
getLabel gives the best possible label for the target
(based on region, etc...) |
java.util.List<TargetLocator> |
getLocators()
getLocators returns the locators associated with this
target. |
java.lang.String |
getName()
getName returns the target's about tag. |
ResourceManager |
getResourceManager()
getResourceManager returns a reference to the current
ResourceManager |
int |
getResourceManagerInstance()
getResourceManagerInstance returns the instance number of
the ResourceManager |
java.util.List<ClientSession> |
getSessions()
getSessions returns all open Sessions on
the Target |
java.util.List<UISocketMirror> |
getSockets()
getSockets returns all UISockets
associated with the Target. |
TargetDirectory |
getTargetDirectory()
getTargetDirectory returns the TargetDirectory associated with this Target |
java.lang.String |
getTargetId()
Returns this Target's unique ID as given by its Tun. |
IClientTun |
getTUN()
getTUN returns the Tun with which this Target is
associated |
UISocketMirror |
getUiSocketMirrorBySocketId(java.lang.String socketId)
Utility Method |
boolean |
isHidden()
isHidden returns whether this is a hidden Target |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TargetMirror(java.net.URI tdURI,
java.lang.String targetId,
IClientTun tun)
throws UrcException
Target instance.
tdURI - an URI valuetargetId - a String valuetun - an IClientTun value
UrcException - if an error occurs| Method Detail |
|---|
public java.lang.String getDomain()
getDomain returns a targetDirectory's 'about' tag
String valuepublic TargetDirectory getTargetDirectory()
getTargetDirectory returns the TargetDirectory associated with this Target
TargetDirectory valuepublic IResource getLabel(UserPreferences prefs)
getLabel gives the best possible label for the target
(based on region, etc...)
prefs -
IResource valuepublic java.util.List<TargetLocator> getLocators()
getLocators returns the locators associated with this
target.
List of locatorspublic java.lang.String getName()
getName returns the target's about tag.
String valuepublic ResourceManager getResourceManager()
getResourceManager returns a reference to the current
ResourceManager
ResourceManagerpublic int getResourceManagerInstance()
getResourceManagerInstance returns the instance number of
the ResourceManager
ResourceManagerpublic java.util.List<ClientSession> getSessions()
getSessions returns all open Sessions on
the Target
List of all open ClientSessions on
the Target
public java.util.List<UISocketMirror> getSockets()
throws UrcException
getSockets returns all UISockets
associated with the Target.
List of UISocketMirror
UrcExceptionpublic java.lang.String getTargetId()
String valuepublic IClientTun getTUN()
getTUN returns the Tun with which this Target is
associated
IClientTun valuepublic boolean isHidden()
isHidden returns whether this is a hidden Target
boolean valuepublic UISocketMirror getUiSocketMirrorBySocketId(java.lang.String socketId)
socketId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||