|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface isolates the behavior for transport for all the syndication server's messages between the subscriber and the syndicator.
Method Summary |
Type | Method |
---|---|
void |
destroy()
This allows clean up of the transport layer. |
boolean |
isPushing()
Tells if we are pushing |
OSSRequest |
readRequest()
This method reads a request from a transport layer |
OSSResponse |
sendRequest(HTTPClient.URI destURI,
OSSRequest req)
This method is used for the syndication entity ( Server: PUSH or Broadcasting; Client: Send request ) |
void |
writeResponse(OSSResponse resp)
This method represents the functionality to write to a sink whatever messages are to be written. |
Method Detail |
public void writeResponse(OSSResponse resp) throws java.io.IOException
public OSSRequest readRequest()
public boolean isPushing()
public void destroy() throws java.io.IOException
public OSSResponse sendRequest(HTTPClient.URI destURI, OSSRequest req) throws OSSException
destURI
- The destination for sending the requestreq
- The request package for delivery
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |