|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.peer.PeerInfoServiceInterface
PeerInfoServiceInterface provides a pure interface object that permits interaction with the actual PeerInfoService implementation without giving access to the real object.
Field Summary |
Fields inherited from interface net.jxta.platform.Module |
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK |
Constructor Summary | |
PeerInfoServiceInterface(PeerInfoService theRealThing)
Only authorized constructor |
Method Summary | |
long |
addMonitorListener(MonitorFilter monitorFilter,
long reportRate,
boolean includeCumulative,
MonitorListener monitorListener)
|
void |
addRemoteMonitorListener(PeerID peerID,
MonitorFilter monitorFilter,
long reportRate,
boolean includeCumulative,
MonitorListener monitorListener,
long lease,
long timeout)
|
long |
getBestReportRate(long desiredReportRate)
|
MonitorReport |
getCumulativeMonitorReport(MonitorFilter monitorFilter)
|
void |
getCumulativeMonitorReport(PeerID peerID,
MonitorFilter monitorFilter,
MonitorListener monitorListener,
long timeout)
|
Advertisement |
getImplAdvertisement()
|
Service |
getInterface()
Since THIS is already such an object, it returns itself. |
PeerMonitorInfo |
getPeerMonitorInfo()
|
void |
getPeerMonitorInfo(PeerID peerID,
PeerMonitorInfoListener peerMonitorInfoListener,
long timeout)
|
long[] |
getSupportedReportRates()
|
void |
init(PeerGroup pg,
ID assignedID,
Advertisement impl)
Initialize the application FIXME: This is meaningless for the interface object; it is there only to satisfy the requirements of the interface that we implement. |
boolean |
isLocalMonitoringAvailable()
|
boolean |
isLocalMonitoringAvailable(ModuleClassID moduleClassID)
|
boolean |
isSupportedReportRate(long reportRate)
|
boolean |
removeMonitorListener(MonitorListener monitorListener)
|
void |
removeRemoteMonitorListener(MonitorListener monitorListener,
long timeout)
|
void |
removeRemoteMonitorListener(PeerID peerID,
MonitorListener monitorListener,
long timeout)
|
int |
startApp(String[] arg)
This is here for temporary class hierarchy reasons. it is ALWAYS ignored. |
void |
stopApp()
This is here for temporary class hierarchy reasons. it is ALWAYS ignored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PeerInfoServiceInterface(PeerInfoService theRealThing)
theRealThing
- Method Detail |
public Service getInterface()
getInterface
in interface Service
public Advertisement getImplAdvertisement()
getImplAdvertisement
in interface Service
public void init(PeerGroup pg, ID assignedID, Advertisement impl)
init
in interface Module
public int startApp(String[] arg)
startApp
in interface Module
public void stopApp()
stopApp
in interface Module
public boolean isLocalMonitoringAvailable()
isLocalMonitoringAvailable
in interface PeerInfoService
public boolean isLocalMonitoringAvailable(ModuleClassID moduleClassID)
isLocalMonitoringAvailable
in interface PeerInfoService
public long[] getSupportedReportRates()
getSupportedReportRates
in interface PeerInfoService
public boolean isSupportedReportRate(long reportRate)
isSupportedReportRate
in interface PeerInfoService
public long getBestReportRate(long desiredReportRate)
getBestReportRate
in interface PeerInfoService
public PeerMonitorInfo getPeerMonitorInfo()
getPeerMonitorInfo
in interface PeerInfoService
public void getPeerMonitorInfo(PeerID peerID, PeerMonitorInfoListener peerMonitorInfoListener, long timeout) throws MonitorException
getPeerMonitorInfo
in interface PeerInfoService
MonitorException
public MonitorReport getCumulativeMonitorReport(MonitorFilter monitorFilter) throws MonitorException
getCumulativeMonitorReport
in interface PeerInfoService
MonitorException
public void getCumulativeMonitorReport(PeerID peerID, MonitorFilter monitorFilter, MonitorListener monitorListener, long timeout) throws MonitorException
getCumulativeMonitorReport
in interface PeerInfoService
MonitorException
public long addMonitorListener(MonitorFilter monitorFilter, long reportRate, boolean includeCumulative, MonitorListener monitorListener) throws MonitorException
addMonitorListener
in interface PeerInfoService
MonitorException
public void addRemoteMonitorListener(PeerID peerID, MonitorFilter monitorFilter, long reportRate, boolean includeCumulative, MonitorListener monitorListener, long lease, long timeout) throws MonitorException
addRemoteMonitorListener
in interface PeerInfoService
MonitorException
public boolean removeMonitorListener(MonitorListener monitorListener) throws MonitorException
removeMonitorListener
in interface PeerInfoService
MonitorException
public void removeRemoteMonitorListener(PeerID peerID, MonitorListener monitorListener, long timeout) throws MonitorException
removeRemoteMonitorListener
in interface PeerInfoService
MonitorException
public void removeRemoteMonitorListener(MonitorListener monitorListener, long timeout) throws MonitorException
removeRemoteMonitorListener
in interface PeerInfoService
MonitorException
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |