public class NewPPTClient
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(boolean informServer)
Attempts to gracefully close the connection to the Server.
|
void |
dieNow() |
int |
getChunkReadBufferSize() |
boolean |
getResponse(java.io.OutputStream strm,
java.io.OutputStream errorStream)
Get the response from the BES and write it to the passed OutputStream
|
boolean |
initConnection() |
boolean |
isClosed() |
boolean |
isConnected() |
boolean |
sendRequest(java.lang.String buffer) |
boolean |
sendXMLRequest(org.jdom.Document req) |
java.lang.String |
showConnectionProperties() |
public java.lang.String showConnectionProperties()
public boolean isClosed()
public boolean isConnected()
public int getChunkReadBufferSize()
public void dieNow()
public boolean initConnection() throws PPTException
PPTException
public void closeConnection(boolean informServer)
informServer
- A true value will result in an attempt to inform the Server that the client is disconnecting.
A false value will simple cause the client to close connections with out informing the server.public boolean sendRequest(java.lang.String buffer) throws PPTException
PPTException
public boolean getResponse(java.io.OutputStream strm, java.io.OutputStream errorStream) throws PPTException
strm
- The stream to which to write the response.errorStream
- The stream to which to write any errors sent from
the server.PPTException
- Stuff happenspublic boolean sendXMLRequest(org.jdom.Document req) throws PPTException
PPTException