📄 peergroup.java
字号:
*/
public static final ModuleClassID resolverClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000002"
+ "05" );
/**
* Well known module class identifier: discovery service
*/
public static final ModuleClassID discoveryClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000003"
+ "05" );
/**
* Well known module class identifier: pipe service
*/
public static final ModuleClassID pipeClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000004"
+ "05" );
/**
* Well known module class identifier: membership service
*/
public static final ModuleClassID membershipClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000005"
+ "05" );
/**
* Well known module class identifier: rendezvous service
*/
public static final ModuleClassID rendezvousClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000006"
+ "05" );
/**
* Well known module class identifier: peerinfo service
*/
public static final ModuleClassID peerinfoClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000007"
+ "05" );
/**
* Well known module class identifier: endpoint service
*/
public static final ModuleClassID endpointClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000008"
+ "05" );
/*
* FIXME: EndpointProtocols should probably all be of the same class
* and of different specs and roles... But we'll take a shortcut for now.
*/
/**
* Well known module class identifier: tcp protocol
*/
public static final ModuleClassID tcpProtoClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000009"
+ "05" );
/**
* Well known module class identifier: http protocol
*/
public static final ModuleClassID httpProtoClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000A"
+ "05" );
/**
* Well known module class identifier: router protocol
*/
public static final ModuleClassID routerProtoClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000B"
+ "05" );
/**
* Well known module class identifier: application
*/
public static final ModuleClassID applicationClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000C"
+ "05" );
/**
* Well known module class identifier: tlsProtocol
*/
public static final ModuleClassID tlsProtoClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000D"
+ "05" );
/**
* Well known module class identifier: ProxyService
*/
public static final ModuleClassID proxyClassID = (ModuleClassID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000E"
+ "05" );
/**
* Well known group specification identifier: the platform
*/
public static final ModuleSpecID refPlatformSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000001"
+ "01"
+ "06" );
/**
* Well known group specification identifier: the Network Peer Group
*/
public static final ModuleSpecID refNetPeerGroupSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000001"
+ "02"
+ "06" );
/**
* Well known service specification identifier: the standard resolver
*/
public static final ModuleSpecID refResolverSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000002"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard discovery
*/
public static final ModuleSpecID refDiscoverySpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000003"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard pipe
*/
public static final ModuleSpecID refPipeSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000004"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard membership
*/
public static final ModuleSpecID refMembershipSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000005"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard rendezvous
*/
public static final ModuleSpecID refRendezvousSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000006"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard peerinfo
*/
public static final ModuleSpecID refPeerinfoSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000007"
+ "01"
+ "06" );
/**
* Well known service specification identifier: the standard endpoint
*/
public static final ModuleSpecID refEndpointSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000008"
+ "01"
+ "06" );
/**
* Well known endpoint protocol specification identifier: the standard
* tcp endpoint protocol
*/
public static final ModuleSpecID refTcpProtoSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000009"
+ "01"
+ "06" );
/**
* Well known endpoint protocol specification identifier: the standard
* http endpoint protocol
*/
public static final ModuleSpecID refHttpProtoSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000A"
+ "01"
+ "06" );
/**
* Well known endpoint protocol specification identifier: the standard
* router
*/
public static final ModuleSpecID refRouterProtoSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000B"
+ "01"
+ "06" );
/**
* Well known endpoint protocol specification identifier: the standard
* tls endpoint protocol
*/
public static final ModuleSpecID refTlsProtoSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000D"
+ "01"
+ "06" );
/**
* Well known group specification identifier: an all purpose peer group
* specification. The java reference implementation implements it with
* the StdPeerGroup class and all the standard platform services and no
* endpoint protocols.
*/
public static final ModuleSpecID allPurposePeerGroupSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe00000001"
+ "03"
+ "06" );
/**
* Well known main application of the platform: startNetPeerGroup.
*/
public static final ModuleSpecID refStartNetPeerGroupSpecID =
(ModuleSpecID) IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000C"
+ "01"
+ "06" );
/**
* Well known application: the shell
*/
public static final ModuleSpecID refShellSpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000C"
+ "02"
+ "06" );
/**
* Well known application: the Proxy
*/
public static final ModuleSpecID refProxySpecID = (ModuleSpecID)
IdMaker.mkID( "DeadBeefDeafBabaFeedBabe0000000E"
+ "01"
+ "06" );
static GlobalRegistry globalRegistry = new GlobalRegistry();
/**
* Returns the loader for this group.
*
* @return JxtaLoader The loader
*/
public JxtaLoader getLoader();
/**
* Returns the whether the group member is a Rendezvous peer for the group
*
* @return boolean true if the peer is a rendezvous for the group.
*
* @version $Revision: 1.40 $
* @since JXTA 1.0
*/
public boolean isRendezvous();
/**
* Ask a group for its group advertisement
*
* @return PeerGroupAdvertisement this Group's advertisement
*
* @version $Revision: 1.40 $
* @since JXTA 1.0
*/
public PeerGroupAdvertisement getPeerGroupAdvertisement();
/**
* Ask a group for its peer advertisement on this peer.
*
* @return PeerAdvertisement this Peer X Group advertisement
*
* @version $Revision: 1.40 $
* @since JXTA 1.0
*/
public PeerAdvertisement getPeerAdvertisement();
/**
* Lookup for a service by name.
*
* @param name the service identifier.
*
* @return Service, the Service registered by that name
*
* @exception ServiceNotFoundException could not find the service requested
*
* @version $Revision: 1.40 $
* @since JXTA 1.0
*/
public Service lookupService(ID name)
throws ServiceNotFoundException;
/**
* Evaluate if the given compatibility statement make the module
* that bears it loadable by this group.
*
* @return boolean True if the statement is compatible.
*
* @version $Revision: 1.40 $
* @since JXTA 1.0
*/
public boolean compatible(Element compat);
/**
* Load a module from a ModuleImplAdv.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -