|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractProtocol
implementssetLogging
(-1)
bytes_read
contains value of
bytes already read for current chunk.
bytes_read
contains value of
bytes already read for current chunk.
bytesRequired2encodeLength
method evaluated the
number of required to write into the buffer.
chunk_size
contains value of
current chunk size in bytes.
chunk_size
contains value of
current chunk size in bytes.
cleanUpOid
every thing in Object Identifier is deleted and
made to point to null
closeSocket
method performs
CODE_CONNECTION_ERROR
means that
unknown error occured.
CODE_CONNECTION_OK
means that everuthing
was correct and successful and application can continue downloading
data or can close connection.
CODE_HOST_NOT_FOUND
means that
it was impossible to resolve host name into IP number.
CODE_NO_CONTENT
means that
request to resource was correct but resource contains no data.
CODE_NOT_INITIALIZED
means that no
connection tries were performed.
CODE_SERVER_NOT_REACHABLE
means that there
was no route to host or remote host is reachable but there was
no response from web server application (on given remote port).
connect
method performs
connect
method performs
connect
method performs all necessary actions
required to connect to remote resource.
connect
method performs
connect
method performs
connected
here.
connectionCode
here.
parse()
to create cookies.
parse()
to create cookies.
EncodeInBuffer
method creates the data buffer with the size
of the passed length
createProtocol
method performs
createProtocol
method performs
createStandardImpl
method performs
createStandardImpl
method performs
dataEncodingType
contains value of
dataEncodingType
contains value of
deb
method performs
deb
method performs
deb
method performs
deb
method performs
deb
method performs
deb
method performs
debug
contains value of
debug
contains value of
debug
contains value of
debug
contains value of
decode
method performs decoding of the
passed data buffer.
decode
decodes the SnmpInteger32 according to BER encoding
from a buffer
decode
decodes the SnmpObjectIdentifier according to
BER encoding
from a buffer
decode
decodes the SnmpOctet according to BER encoding
from a buffer
decodeDataType
method checks whether the data type is
supported or not.
DecodeFromBuffer
method performs decoding of the
passed data buffer.
DecodeFromBuffer
method performs decoding of the
passed data buffer for a specified amount of the length.
decodeLengthOfData
method decodes the Length of the
data buffer.
decodeObjectId
method decodes the Object Identifier data type
decodeOctet
method decodes the Octet data type.
disconnect
method performs
disconnect
method performs
disconnect
method closes network connection.
disconnect
method performs
disconnect
method performs
setProxyServer()
.
ENC_BINARY
here.
ENC_BINARY
here.
ENC_CHUNKED
here.
ENC_CHUNKED
here.
ENC_UNKNOWN
here.
ENC_UNKNOWN
here.
encode
method performs encoding of the
passed data buffer.
encode
encodes the SnmpInteger32 according to BER encoding
and stores in a buffer
encode
encodes the SnmpObjectIdentifier according to
BER encoding and stores in a buffer
encode
encodes the SnmpOctet according to BER encoding and
stores in a buffer
encodeDataLength
method writes the data length into the
data buffer with index being pointed by the current position
encodeDataType
method writes the data type into the
data buffer with index being pointed by the current position
EncodeInBuffer
method creates the data buffer with the size
of the passed length
encodeInteger32
method encodes the Integer32
data type.
encodeObjectId
method encodes the Object Identifier
encodeOctet
method encodes the Octet
data type.
encodeSequence
method encodes and writes the
sequence of data type and length into the buffer.
encodeTypeLengthOfData
method encodes and writes the
data type and the length into the buffer.
encodeUnsignedInteger
method encodes the Unsigned
data type.
encodeVarHavingNullValue
method encodes the Object Identifier
which has the Null Value.
Codecs.mpFormDataDecode
and Codecs.mpFormDataEncode
may be handed an instance of a class which implements this interface in
order to control names of the decoded files or the names sent in the encoded
data.getAllHeaders
method performs
getAllHeaders
method performs
getAllHeaders
method performs
getAllHeaders
returns all received header from
the web server.
getAllHeaders
method performs
getAllHeaders
method performs
getAllHeaders
method performs
hasData
method checks whether the data variable has data
in it or not.
getBuffer
method returns the handle buffer of the data
element.
getBuffer
method returns the handle to the data buffer
getBufferLength
method returns the Length of the data buffer.
getBufferLength
method returns the length of the buffer
of the data element.
getBufferLength
method returns the length of the data buffer
clientId
.
getClientId
method returns client identification
string which it sends to web sever during connection.
getComponentsOfOid
returns array of integers which are
components of Object Identifier
getConnectionInfo
method performs
getConnectionInfo
method performs
getConnectionInfo
method should return some connection
parameters.
getConnectionInfo
method performs
getConnectionInfo
method performs
getConnectionResult
method performs
getConnectionResult
method performs
getConnectionResult
method returns standarized for
all protocols connection with server result.
getConnectionResult
method performs
getConnectionResult
method performs
getConnectionStatuses
method performs
getConnectionStatuses
method performs
getConnectionStatuses
method calculates and returns connection
statuses in List
.
getConnectionStatuses
method performs
getContentLength
method performs
getContentLength
method performs
getContentLength
method returns expected content length.
getContentLength
method performs
getContentType
method performs
getContentType
method performs
getContentType
method returns type of data stored in resource.
getContentType
method performs
getCurrentPosition
method returns the reference to the
current byte position in the data array.
getCurrentPosition
method returns the value of the current data bit.
getCurrentPosition
method returns the index value of the
data buffer
getEffectiveURI
returns effective uri of requested
resource.
getHeaderIntValue
method performs
getHeaderIntValue
method performs
getHeaderStrValue
returns header value
as long
integer for given header name.
getHeaderIntValue
method performs
getHeaderStrValue
method performs
getHeaderStrValue
method performs
getHeaderStrValue
returns header value
as String
for given header name.
getHeaderStrValue
method performs
getHeaderStrValue
method performs
getHostIP
method performs
inputBufferSize
.
getInputBufferSize
method returns input buffer size
which is set for this protocol.
inputStream
.
inputStream
.
getInputStream
method returns InputStream
where from user can read resource data.
inputStream
.
getInputStream
method performs
getIntValue
returns the value of the SnmpInteger32 variable
getLength
method returns the length of
the data element.
getLength
returns the length of SnmpInteger32 variable
in bytes
getLength
returns length of Object Identifier
getLength
returns length of Octet
getLengthOfOid
returns length of Object Identifier
getLongValue
returns the value of the SnmpInteger32 variable
getNumberOfBytesLeft
method returns the number of bytes
left in array to be processed from the reference to the data buffer.
getNumberOfBytesLeft
method returns the numbers of Bytes left to be parsed.
getNumberOfBytesLeft
method returns the length of the data
buffer
with respect to the current position of the data reference
getOctetValue
returns Octet(array of Bytes)
getPassword
method performs
getProtocol
method performs
getProtocolType
method performs
getProtocolType
method performs
getProtocolType
method returns protocols type
it implementing.
getProtocolType
method performs
getProtocolType
method performs
getQuery
method performs
getRealContentSize
method performs
getRealContentSize
method returns received size of data.
getHeader("Server")
instead.
getServerId
method performs
getServerId
method performs
getServerId
method returns web server identification string
detected during making connection.
getServerId
method performs
streamReadTimeout
.
getStreamReadTimeout
method returns value of stream
read timeout.
setTrailers()
.
getTransferSpeed
method performs
getTransferSpeed
method performs
getTransferSpeed
method calculates and returns transfer speed
in bytes/sec.
getTransferSpeed
method performs
getTransferSpeed
method performs
getType
method returns the data type of the element.
getType
function returns the Integer32 data type
getType
function returns the SnmpObjectIdentifier data type
getType
function returns the SnmpOctet data type
getTypeName
method returns the name of
the data type of the element.
getTypeName
function returns the Integer32 data type in
String.
getTypeName
function returns the SnmpObjectIdentifier data
type in String.
getTypeName
function returns the SnmpOctet data type in
String.
uri
.
getURI
method returns URI
for
which performing connection.
getUser
method performs
userName
.
getUserName
method returns user name used during authorization process.
userPassword
.
getUserPassword
method returns user password used during authorization process.
handleAuthHeaders
except that
it is called if any headers in the trailer were sent.
hasData
method checks whether the data variable has data
in it or not.
hasData
method returns whether the variable element has
data or not.
hasData
method checks whether the data buffer has values
or not
headers
contains value of
headers
contains value of
headers
here.
host
here.
host
here.
HTTP_CODE_ACCEPTED
contains value of
HTTP_CODE_CONTINUE
here.
HTTP_CODE_CREATED
contains value of
HTTP_CODE_FOUND
contains value of
HTTP_CODE_MOVED_PERMANENTLY
contains value of
HTTP_CODE_MULTIPLE_CHOICES
contains value of
HTTP_CODE_NO_CONTENT
contains value of
HTTP_CODE_NON_AUTHORITATIVE_INFO
contains value of
HTTP_CODE_NOT_MODIFIED
contains value of
HTTP_CODE_OK
contains value of
HTTP_CODE_PARTIAL_CONTENT
contains value of
HTTP_CODE_RESET_CONTENT
contains value of
HTTP_CODE_SEE_OTHER
contains value of
HTTP_CODE_SWITCHING_PROTOCOL
here.
HTTP_CODE_TEMPORARY_REDIRECT
contains value of
HTTP_CODE_USE_PROXY
contains value of
URLStreamHandler
for the
http scheme.URLStreamHandler
for the
https scheme.URLStreamHandler
for the
shttp scheme.HTTPInputStream
instance.
HTTPInputStream
instance.
HTTPOutputStream
instance.
HTTPOutputStream
instance.
initialize
method performs
initialize
method performs
inputStream
here.
isErrorRecoverable
should be able to return
info if given error code is permanent or not.
keepAlive
.
getKeepAlive
method returns value of keepAlive
field.
keepAlive
here.
keepAlive
here.
main
method performs
Codecs.mpFormDataDecode
for each file found in the data, just before
the file is created and written.
MAX_LENGTH_OID
.
MAX_LENGTH_OID
.
METHOD_GET
contains value of
METHOD_HEAD
contains value of
MORE_TO_FOLLOW
.
one_byte
is an array of one byte
capasity.
one_byte
is an array of one byte
capasity.
openSocket
method performs
outputStream
here.
parseHeader
method performs
parseResponseCode
method performs
ProtocolFactory
implementsProtocolIfc
defines genral interface for reaching
network resources.FTPImpl
implementsHTTPImpl
implementsNNTPImpl
implementsHTTPImpl
implementsFTPImpl
implementsraw
method performs
raw
method performs
raw
method performs
raw
method performs
read
method performs
read
method performs
read
method performs
read
method performs
read
method performs
read
method performs
readBinary
method performs
readBinary
method performs
readBytes
contains value of
readBytes
contains value of
readChunked
method streams chunked data
from http server.
readChunked
method streams chunked data
from http server.
readMilis
contains value of
readMilis
contains value of
readNextChunkSize
method performs
readNextChunkSize
method performs
requestForData
method performs
requestForData
method performs
requestForHeaders
method performs
requestForHeaders
method performs
reset
method resets the reference.
reset
method resets the variable data element.
reset
method resets the data reference to zero
resolveNameToIntArray
resolves a given string to an
array of integers deleting all dots
saveContent
method performs
saveContent
method performs saving resource data
to given OutputStream
.
saveContent
method performs
saveContent
method performs saving resource data
to given disk file.
sendRequest
method performs
sendRequest
method performs
clientId
.
setClientId
method sets client identification
string.
setComponentsOfOid
making of an Object Identifier takes
place given array of integers
setComponentsOfOid
making of an Object Identifier takes
place given array of integers and it's length
setCurrentPosition
method sets the reference to the specified
byte in the data buffer.
setCurrentPosition
method sets the specified bit to 1.
setCurrentPosition
method sets the index of the data buffer
setData
method writes the passed value into the
data buffer with index being pointed by the current position
setDebug
sets debug mode.
setHostIP
method performs
inputBufferSize
.
setInputBufferSize
method InputStream
returns data in packets.
setIntValue
function sets the value of the Integer32 variable
keepAlive
.
setKeepAlive
method sets keepAlive
variable.
setLongValue
function sets the value of the Integer32
variable
streamReadTimeout
.
setStreamReadTimeout
method sets timeout for reading
from input stream taken from socket.
uri
.
setURI
method performs
setURI
method performs
setURI
method performs
setURI
method sets new URI
for
protocol instance.
setURI
method performs
setURI
method performs
userName
.
setUserName
method sets user name for authorization.
userPassword
.
setUserPassword
method sets user password dor authorization.
shiftLeftMask
method performs specified number of
left shift operation on the passed integer data
shiftLeftMask
method performs specified number of
left shift operation on the passed integer data with the passed mask
shiftRightMask
method performs specified number of
right shift operation on the passed integer data
shiftRightMask
method performs specified number of
right shift operation on the passed integer data with the passed mask
TestClient
instance.
URI
implementsURI
instance.
SIXFOURKB
.
SnmpInteger32
constructor with no parameters
SnmpInteger32
constructor with one int as the parameter
SnmpInteger32
constructor with one Long Int as the parameter
SnmpInteger32
copy constructor
SnmpInteger32
constructor with string as a parameter
SnmpObjectIdentifier
constructor with no parameters
SnmpObjectIdentifier
constructor with array of Int and Int
as the parameter
SnmpObjectIdentifier
constructor with SnmpObjectIdentifier
as the parameter
SnmpObjectIdentifier
constructor with String as the parameter
SnmpOctet
constructor with no parameters
SnmpOctet
constructor with array of Bytes as the parameter
SnmpOctet
copy constructor SnmpOctet as the parameter
SnmpOctet
constructor with String as the parameter
snmpVersion
here.
socket
here.
toHexString
converts the SnmpInteger32 to HexString for
displaying
toString
converts the SnmpInteger32 to String for displaying
toString
converts the SnmpObjectIdentifier to String for
displaying
toString
converts the SnmpOctet to String for displaying
toString
used in toString() function to convert the
SnmpInteger32 to String for displaying
transferSpeed
here.
uri
contains value of
URI
implementsURI
instance.
URI
instance.
userAgent
here.
userAgent
here.
userName
contains value of
userPassword
contains value of
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |