public class JXTAController extends Object implements P2PGridController
Modifier and Type | Method and Description |
---|---|
void |
addSeedUri(URI uri) |
void |
baseSummaryAdd(Data data) |
void |
baseSummaryCreate() |
Data[] |
collect(ControllerSearchCondition con) |
void |
createFederation() |
int |
getFederationType(String gridID) |
static P2PGridController |
getInstance() |
net.jxta.peergroup.PeerGroup |
getPeerGroup() |
String |
getSerlfGridId() |
boolean |
hostSummaryCreate(String gridId) |
void |
logDataPublish(Data data) |
void |
logSummaryAdd(Data data) |
void |
publish(Data data) |
void |
removeAccessLogSummary() |
void |
removeAccessStateSummary() |
void |
revoke(DataID id) |
static void |
setBaseDir(File baseDir) |
static void |
setUpInstance(ServiceContext context) |
void |
showStatus(PrintStream stream) |
void |
shutdown() |
void |
start() |
void |
stateDataPublish(Data data) |
void |
stateSummaryAdd(Data data) |
void |
summaryPublish(String tag) |
void |
summaryPublishSet(String tag) |
public Data[] collect(ControllerSearchCondition con) throws ControllerException
collect
in interface P2PGridController
ControllerException
public void addSeedUri(URI uri)
addSeedUri
in interface P2PGridController
public void publish(Data data) throws ControllerException
publish
in interface P2PGridController
ControllerException
public void stateDataPublish(Data data) throws ControllerException
stateDataPublish
in interface P2PGridController
ControllerException
public void logDataPublish(Data data) throws ControllerException
logDataPublish
in interface P2PGridController
ControllerException
public void summaryPublish(String tag) throws ControllerException
summaryPublish
in interface P2PGridController
ControllerException
public void baseSummaryAdd(Data data) throws ControllerException
baseSummaryAdd
in interface P2PGridController
ControllerException
public void logSummaryAdd(Data data) throws ControllerException
logSummaryAdd
in interface P2PGridController
ControllerException
public void stateSummaryAdd(Data data) throws ControllerException
stateSummaryAdd
in interface P2PGridController
ControllerException
public void summaryPublishSet(String tag) throws ControllerException
ControllerException
public void removeAccessLogSummary()
public void removeAccessStateSummary()
public void revoke(DataID id) throws ControllerException, DataNotFoundException
revoke
in interface P2PGridController
ControllerException
DataNotFoundException
public void shutdown()
shutdown
in interface P2PGridController
public boolean hostSummaryCreate(String gridId) throws ControllerException
hostSummaryCreate
in interface P2PGridController
ControllerException
public int getFederationType(String gridID)
public void createFederation()
createFederation
in interface P2PGridController
public void baseSummaryCreate() throws ControllerException
ControllerException
public void start() throws ControllerException
start
in interface P2PGridController
ControllerException
public void showStatus(PrintStream stream)
showStatus
in interface P2PGridController
public String getSerlfGridId()
getSerlfGridId
in interface P2PGridController
public net.jxta.peergroup.PeerGroup getPeerGroup()
public static void setBaseDir(File baseDir)
public static void setUpInstance(ServiceContext context) throws ControllerException
ControllerException
public static P2PGridController getInstance() throws ControllerException
ControllerException