Class JxtaNetworkManagerProxy
- java.lang.Object
-
- com.sun.enterprise.mgmt.transport.jxta.JxtaNetworkManagerProxy
-
public class JxtaNetworkManagerProxy extends java.lang.ObjectProvides a facade over the NetworkManager in order to facilitate apps that require direct access to JXTA artifacts such as pipe advertisements, etc.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.jxta.peergroup.PeerGroupIDgetInfraPeerGroupID()Gets the infraPeerGroupID attribute of the NetworkManager class.net.jxta.peer.PeerIDgetJxtaPeerID(java.lang.String instanceName)Gets the peerID attribute of the NetworkManager class.net.jxta.peergroup.PeerGroupgetNetPeerGroup()Gets the netPeerGroup instance.net.jxta.protocol.PipeAdvertisementgetPipeAdvertisement(java.lang.String instanceName)Creates a JxtaBiDiPipe pipe advertisement with a SHA1 encoded instance name pipe ID.net.jxta.pipe.PipeIDgetPipeID(java.lang.String instanceName)Gets the pipeID attribute of the NetworkManager class.net.jxta.pipe.PipeIDgetSessionQueryPipeID()Returns the SessionQeuryPipe ID.net.jxta.protocol.PipeAdvertisementgetSocketAdvertisement(java.lang.String instanceName)Creates a JxtaSocket pipe advertisement with a SHA1 encoded instance name pipe ID.net.jxta.pipe.PipeIDgetSocketID(java.lang.String instanceName)Gets the socketID attribute of the NetworkManager class.booleanisStarted()Gets the running attribute of the NetworkManager class
-
-
-
Method Detail
-
getPipeID
public net.jxta.pipe.PipeID getPipeID(java.lang.String instanceName)
Gets the pipeID attribute of the NetworkManager class.- Parameters:
instanceName- instance name- Returns:
- The pipeID value
-
getSocketID
public net.jxta.pipe.PipeID getSocketID(java.lang.String instanceName)
Gets the socketID attribute of the NetworkManager class.- Parameters:
instanceName- instance name value- Returns:
- The socketID value
-
getJxtaPeerID
public net.jxta.peer.PeerID getJxtaPeerID(java.lang.String instanceName)
Gets the peerID attribute of the NetworkManager class.- Parameters:
instanceName- instance name value- Returns:
- The peerID value
-
getSessionQueryPipeID
public net.jxta.pipe.PipeID getSessionQueryPipeID()
Returns the SessionQeuryPipe ID.- Returns:
- The SessionQueryPipe Pipe ID
-
getSocketAdvertisement
public net.jxta.protocol.PipeAdvertisement getSocketAdvertisement(java.lang.String instanceName)
Creates a JxtaSocket pipe advertisement with a SHA1 encoded instance name pipe ID.- Parameters:
instanceName- instance name- Returns:
- a JxtaSocket Pipe Advertisement
-
getPipeAdvertisement
public net.jxta.protocol.PipeAdvertisement getPipeAdvertisement(java.lang.String instanceName)
Creates a JxtaBiDiPipe pipe advertisement with a SHA1 encoded instance name pipe ID.- Parameters:
instanceName- instance name- Returns:
- PipeAdvertisement a JxtaBiDiPipe Pipe Advertisement
-
getInfraPeerGroupID
public net.jxta.peergroup.PeerGroupID getInfraPeerGroupID()
Gets the infraPeerGroupID attribute of the NetworkManager class.- Returns:
- The infraPeerGroupID value
-
getNetPeerGroup
public net.jxta.peergroup.PeerGroup getNetPeerGroup()
Gets the netPeerGroup instance.- Returns:
- The netPeerGroup value
-
isStarted
public boolean isStarted()
Gets the running attribute of the NetworkManager class- Returns:
- The running value
-
-