com.sun.enterprise.mgmt.transport.jxta
Class JxtaNetworkManagerProxy

java.lang.Object
  extended by com.sun.enterprise.mgmt.transport.jxta.JxtaNetworkManagerProxy

public class JxtaNetworkManagerProxy
extends Object

Provides a facade over the NetworkManager in order to facilitate apps that require direct access to JXTA artifacts such as pipe advertisements, etc.


Method Summary
 PeerGroupID getInfraPeerGroupID()
          Gets the infraPeerGroupID attribute of the NetworkManager class.
 PeerID getJxtaPeerID(String instanceName)
          Gets the peerID attribute of the NetworkManager class.
 PeerGroup getNetPeerGroup()
          Gets the netPeerGroup instance.
 PipeAdvertisement getPipeAdvertisement(String instanceName)
          Creates a JxtaBiDiPipe pipe advertisement with a SHA1 encoded instance name pipe ID.
 PipeID getPipeID(String instanceName)
          Gets the pipeID attribute of the NetworkManager class.
 PipeID getSessionQueryPipeID()
          Returns the SessionQeuryPipe ID.
 PipeAdvertisement getSocketAdvertisement(String instanceName)
          Creates a JxtaSocket pipe advertisement with a SHA1 encoded instance name pipe ID.
 PipeID getSocketID(String instanceName)
          Gets the socketID attribute of the NetworkManager class.
 boolean isStarted()
          Gets the running attribute of the NetworkManager class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPipeID

public PipeID getPipeID(String instanceName)
Gets the pipeID attribute of the NetworkManager class.

Parameters:
instanceName - instance name
Returns:
The pipeID value

getSocketID

public PipeID getSocketID(String instanceName)
Gets the socketID attribute of the NetworkManager class.

Parameters:
instanceName - instance name value
Returns:
The socketID value

getJxtaPeerID

public PeerID getJxtaPeerID(String instanceName)
Gets the peerID attribute of the NetworkManager class.

Parameters:
instanceName - instance name value
Returns:
The peerID value

getSessionQueryPipeID

public PipeID getSessionQueryPipeID()
Returns the SessionQeuryPipe ID.

Returns:
The SessionQueryPipe Pipe ID

getSocketAdvertisement

public PipeAdvertisement getSocketAdvertisement(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 PipeAdvertisement getPipeAdvertisement(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 PeerGroupID getInfraPeerGroupID()
Gets the infraPeerGroupID attribute of the NetworkManager class.

Returns:
The infraPeerGroupID value

getNetPeerGroup

public 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


Copyright © 2012. All Rights Reserved.