public interface JXTAPlatform
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
net.jxta.document.Advertisement[] |
getAdvertisements(JXTAPlatformSearchCondition searchCondition) |
net.jxta.platform.NetworkManager |
getNetworkManager() |
net.jxta.peergroup.PeerGroup |
getPeerGroup() |
net.jxta.peer.PeerID |
getPeerID() |
boolean |
isRdv() |
void |
localPublish(net.jxta.document.Advertisement adv) |
void |
localPublish(net.jxta.document.Advertisement adv,
long lifetimeMillis,
long exirationMillis) |
void |
peers_r() |
void |
publish(net.jxta.document.Advertisement advertisement) |
void |
publish(net.jxta.document.Advertisement advertisement,
long lifetimeMillis,
long exirationMillis) |
void |
rdvstatus(boolean verbose) |
void |
searchAdvertisements(JXTAPlatformSearchCondition searchCondition) |
void |
showStatus(PrintStream stream,
boolean verbose) |
void |
shutdown() |
void |
start(String sourceGridId,
boolean hosted,
Collection<URL> seedUrls,
net.jxta.discovery.DiscoveryListener discoveryListener) |
net.jxta.platform.NetworkManager getNetworkManager()
void start(String sourceGridId, boolean hosted, Collection<URL> seedUrls, net.jxta.discovery.DiscoveryListener discoveryListener) throws JXTAPlatformException
JXTAPlatformExceptionvoid publish(net.jxta.document.Advertisement advertisement)
throws JXTAPlatformException
JXTAPlatformExceptionvoid publish(net.jxta.document.Advertisement advertisement,
long lifetimeMillis,
long exirationMillis)
throws JXTAPlatformException
JXTAPlatformExceptionvoid localPublish(net.jxta.document.Advertisement adv)
throws JXTAPlatformException
JXTAPlatformExceptionvoid localPublish(net.jxta.document.Advertisement adv,
long lifetimeMillis,
long exirationMillis)
throws JXTAPlatformException
JXTAPlatformExceptionvoid searchAdvertisements(JXTAPlatformSearchCondition searchCondition) throws JXTAPlatformException
JXTAPlatformExceptionnet.jxta.document.Advertisement[] getAdvertisements(JXTAPlatformSearchCondition searchCondition) throws JXTAPlatformException
JXTAPlatformExceptionvoid shutdown()
net.jxta.peer.PeerID getPeerID()
void clearCache()
void peers_r()
void rdvstatus(boolean verbose)
void showStatus(PrintStream stream, boolean verbose)
net.jxta.peergroup.PeerGroup getPeerGroup()
boolean isRdv()