Class JxtaNetworkManagerProxy


  • public class JxtaNetworkManagerProxy
    extends java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.jxta.peergroup.PeerGroupID getInfraPeerGroupID()
      Gets the infraPeerGroupID attribute of the NetworkManager class.
      net.jxta.peer.PeerID getJxtaPeerID​(java.lang.String instanceName)
      Gets the peerID attribute of the NetworkManager class.
      net.jxta.peergroup.PeerGroup getNetPeerGroup()
      Gets the netPeerGroup instance.
      net.jxta.protocol.PipeAdvertisement getPipeAdvertisement​(java.lang.String instanceName)
      Creates a JxtaBiDiPipe pipe advertisement with a SHA1 encoded instance name pipe ID.
      net.jxta.pipe.PipeID getPipeID​(java.lang.String instanceName)
      Gets the pipeID attribute of the NetworkManager class.
      net.jxta.pipe.PipeID getSessionQueryPipeID()
      Returns the SessionQeuryPipe ID.
      net.jxta.protocol.PipeAdvertisement getSocketAdvertisement​(java.lang.String instanceName)
      Creates a JxtaSocket pipe advertisement with a SHA1 encoded instance name pipe ID.
      net.jxta.pipe.PipeID getSocketID​(java.lang.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 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