com.TCPRequest methods

Methods of the com.TCPRequest class.

Table 1. Class methods of com.TCPRequest
Name Description
com.TCPRequest.Create(
   uri STRING )
  RETURNS com.TCPRequest
Creates a new TCP request object.
Table 2. Object methods of com.TCPRequest
Name Description
beginXmlRequest()
  RETURNS xml.StaxWriter
Starts a streaming XML request.
doDataRequest(
   data BYTE )
Performs the request by sending binary data.
doRequest()
Performs a TCP request.
doTextRequest(
   str STRING )
Persforms a request with a string.
doXmlRequest(
   doc xml.DomDocument )
Persforms a request with a DOM document.
endXmlRequest(
  stax xml.StaxWriter )
Terminates a streaming TCP request.
getAsyncResponse()
  RETURNS com.TCPResponse
Returns the response after performing a TCP request, asynchronously.
getResponse()
  RETURNS com.TCPResponse
Returns the response after performing a TCP request.
setConnectionTimeOut(
   timeout INTEGER )
Defines the connection time out.
setKeepConnection(
   keep INTEGER )
Defines if the TCP connection is kept open after sending a request.
setMaximumResponseLength(
   length INTEGER )
Defines the maximum size in Kbyte of the response.
setTimeOut(
   timeout INTEGER )
Defines the time out for read/write operations.