|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSRC
Interface describing the Synchronous Send Receive Channel (SSRC) methods.
Method Summary | |
---|---|
void |
endSession()
Send endSession request to MAPS |
ARC |
getArc()
Open a ARC corresponding to this SSRC instance |
void |
newSession()
Send a newSession request to MAPS |
void |
newSession(Integer maxPollResSize)
Send a newSession request to MAPS with the given parameter |
void |
publish(PublishRequest req)
Send a publish request to MAPS. |
void |
purgePublisher()
Send purgePublisher request to MAPS in order to purge the MAPCs metadata |
void |
purgePublisher(String publisherId)
Send purgePublisher request with the given parameter to MAPS |
void |
renewSession()
Send renewSession request to MAPS |
SearchResult |
search(SearchRequest req)
Send a search request to the MAPS |
void |
subscribe(SubscribeRequest req)
Send a subscribe request to the MAPS. |
Methods inherited from interface de.fhhannover.inform.trust.ifmapj.channel.IfmapChannel |
---|
closeTcpConnection, genericRequest, genericRequestWithSessionId, getMaxPollResSize, getPublisherId, getSessionId, setGzip, setMaxPollResSize, setPublisherId, setSessionId, usesGzip |
Method Detail |
---|
void newSession() throws IfmapErrorResult, IfmapException
IfmapErrorResult
IfmapException
void newSession(Integer maxPollResSize) throws IfmapErrorResult, IfmapException
maxPollResSize
- the maximum size of poll results that can be
processed by the MAPC given in bytes
IfmapErrorResult
IfmapException
void endSession() throws IfmapErrorResult, IfmapException
IfmapErrorResult
IfmapException
void renewSession() throws IfmapErrorResult, IfmapException
IfmapErrorResult
IfmapException
void purgePublisher() throws IfmapErrorResult, IfmapException
IfmapErrorResult
IfmapException
void purgePublisher(String publisherId) throws IfmapErrorResult, IfmapException
publisherId
- the publisher-id of the MAPC whose metadata should be purged
IfmapErrorResult
IfmapException
void publish(PublishRequest req) throws IfmapErrorResult, IfmapException
req
- the publish request that is sent
IfmapErrorResult
IfmapException
void subscribe(SubscribeRequest req) throws IfmapErrorResult, IfmapException
req
- the subscribe request
IfmapErrorResult
IfmapException
SearchResult search(SearchRequest req) throws IfmapErrorResult, IfmapException
req
- the search request
IfmapErrorResult
IfmapException
ARC getArc() throws InitializationException
ARC
corresponding to this SSRC
instance
ARC
InitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |