|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
IOHandler
.ThreadManager
interface
that clients can use as the basis for their own implementations.IdCommandHandler
to this collection.
IdCommandHandler
to this collection at the specified index.
IdCommandListener
instance to be informed of
events from this handler.
IndyComponentListener
to receive events from this component instance.
IOHandlerListener
to receive events from this IOHandler
IOHandlerListener
to receive events from this IOHandler
AfterAccept()
String
using the platform character
encoding.
String
using the character
encoding specified by encoding
, or the platform default
if encoding
is null
.
IOHandler
without blocking
java.net.Socket
used by this IOHandler.
StringBuffer
until delim
is found and returns the number of lines read.
StringList
delim is found and returns the number of lines read.
IOHandler
IOHandler
Should generate an IOHandlerListener.onDisconnect(IOHandler)
event.
close()
Command
represents information about commands received
by a TCPServer
for an executing PeerThread
,
and handled using a CommandHandler
.TCPServer
command handling.IdCommandHandler
objectsIdCommnandHandler
This class is not thread safe without external sync.IOHandler
to a remote implementation.
IOHandler.connectClient(Map,int)
.
IOHandlerSocket
to a remote socket whose address is given by
host
as either an IP address or FQDN and whose port is given by port
If boundIP
or boundPort
are not null
or < 1 respectively, the socket will bind
to this local address and / or port.
org.indy.IOHandler
s,
such as reading and writing primitives, checking response codes and
extracting RFC compliant messages.TCPConnection
IOHandler
's input
that can be read without blocking.
PeerThreadManager
IndyComponent.WorkMode
.
IndyComponent.WorkMode
.
CommandListener
's CommandListener#onCommand()
method.
doBeginWork
has ended.
Status
.
Status
,
taking an array of arguments for message formatting.
IndyComponent.WorkMode
is underway
to the tune of count
bytes.
IOHandler
.
IOHandlerSocket
CommandHandler
property that represents the command handler that
created the CommandEvent
object instance.
IdCommandHandler
instance at index
Connection.getResponse(int[])
.
Command
as a StringList
.
RFCReply
returned by
CommandEvent.getReply()
should be sent back to the peer
in reponse.
Priority
for threads provided by this ThreadManager
IOHandler
IOHandler
RFCReply
associated with this command.
CommandHandler
object
CommandHandler
object
Command
as a StringList
getInternalResponse
and checks it for validity.
allowedResponses
.
IdTCPServer
that owns this collection.
IOHandlerSocket
Status
of source
.
PeerThread
that is handling this command.
ThreadFactory
instance used by this ThreadManager
IndyComponent
is the ancestor of all Indy components
which implement client or server functionality.IndyComponent.- IndyComponent() -
Constructor for class org.indy.IndyComponent
-
- IndyComponentListener - interface org.indy.IndyComponentListener.
- A listener interface for receiving notification of status changes and read / write operations
in an
IndyComponent
. - IndyException - exception org.indy.IndyException.
- IdException
- IndyException() -
Constructor for class org.indy.IndyException
- Constructor for the IdException object
- IndyException(Exception) -
Constructor for class org.indy.IndyException
- Constructor for the IdException object
- IndyException(Exception, String) -
Constructor for class org.indy.IndyException
- Constructor for the IdException object
- IndyException(String) -
Constructor for class org.indy.IndyException
- Constructor for the IdException object
- IndyIOException - exception org.indy.io.IndyIOException.
-
- IndyIOException(Exception) -
Constructor for class org.indy.io.IndyIOException
- Creates a new IndyIOException object.
- IndyIOException(Exception, String) -
Constructor for class org.indy.io.IndyIOException
- Constructor for the IdIOException object
- IndyIOException(String) -
Constructor for class org.indy.io.IndyIOException
- Constructor for the IdIOException object
- indyPorts() -
Static method in class org.indy.util.IndyUtilities
- Description of the Method
- IndyStatusEvent - class org.indy.IndyStatusEvent.
- Represents a state change in an
IndyComponent
. - IndyStatusEvent(IndyComponent, Status) -
Constructor for class org.indy.IndyStatusEvent
- Constructs a new
IndyStatusEvent
.
- IndyStatusEvent(IndyComponent, Status, Object[]) -
Constructor for class org.indy.IndyStatusEvent
- Constructs a new
IndyStatusEvent
.
- IndyThread - class org.indy.IndyThread.
- Provides the basis for Indy threading as used by
PeerThread
in TCPServer
. - IndyThread.Priority - class org.indy.IndyThread.Priority.
- Represents IndyThread priority.
- IndyThread.StopMode - class org.indy.IndyThread.StopMode.
- An enumertaed class describing the possible stopping modes for an IndyThread.
- IndyThread() -
Constructor for class org.indy.IndyThread
- Constructor for the IdThread object
- IndyThreadEvent - class org.indy.IndyThreadEvent.
- Description of the Class
- IndyThreadEvent(IndyThread) -
Constructor for class org.indy.IndyThreadEvent
- Constructor for the IdThreadEvent object
- IndyThreadListener - interface org.indy.IndyThreadListener.
- Description of the Interface
- IndyUnknownHostException - exception org.indy.io.IndyUnknownHostException.
- Title: Description: Copyright: Copyright (c) 2001 Company:
- IndyUnknownHostException(Exception) -
Constructor for class org.indy.io.IndyUnknownHostException
- Constructor for the IdUnknownHostException object
- IndyUtilities - class org.indy.util.IndyUtilities.
- IdGlobal 27/11/01: OTG - Created from Delphi IdGlobal unit
- IndyUtilities() -
Constructor for class org.indy.util.IndyUtilities
-
- init() -
Method in class org.indy.io.ServerIOHandler
- Description of the Method
- init() -
Method in class org.indy.io.ServerIOHandlerSocket
- Description of the Method
- insert(String, int) -
Method in class org.indy.util.StringList
- Description of the Method
- InterceptCircularLinkException - exception org.indy.InterceptCircularLinkException.
- Description of the Class
- InterceptCircularLinkException(String) -
Constructor for class org.indy.InterceptCircularLinkException
- Constructor for the IdInterceptCircularLinkException object
- ioHandler -
Variable in class org.indy.Connection
- The IOHandler used by this connection
- ioHandler -
Variable in class org.indy.TCPClient
- DOCUMENT ME!
- ioHandler -
Variable in class org.indy.socks.SocksInfo
- Description of the Field
- IOHandler - interface org.indy.io.IOHandler.
- An
IOHandler
wraps an underlying communications mechanism
and provides access to its IO facilities and some convinivence methods. - IOHandlerListener - interface org.indy.io.IOHandlerListener.
- Listens for events from
IOHandler
s - IOHandlerSocket - class org.indy.io.IOHandlerSocket.
- An implementation of
IOHandler
that handles IO for sockets. - IOHandlerSocket() -
Constructor for class org.indy.io.IOHandlerSocket
- Constructs a new instance of
IOHandlerSocket
- IOHandlerSocket(Socket) -
Constructor for class org.indy.io.IOHandlerSocket
- Constructs a new instance of
IOHandlerSocket
around a pre-made java.net.Socket
- isActive() -
Method in class org.indy.TCPServer
- DOCUMENT ME!
- isClient() -
Method in class org.indy.ConnectionIntercept
- Gets the client attribute of the IdConnectionIntercept object
- isConnected() -
Method in class org.indy.Connection
- Checks whether this TCP connection is still connected.
- isConnected() -
Method in class org.indy.TCPClient
- DOCUMENT ME!
- isConnected() -
Method in interface org.indy.io.IOHandler
- Determines whether or not this
IOHandler
is connected.
- isConnected() -
Method in class org.indy.io.IOHandlerSocket
- Returns whether or not this instance is connected.
- isCurrentThread(Thread) -
Static method in class org.indy.util.IndyUtilities
- Gets the currentThread attribute of the IdGlobal class
- isDisconnected() -
Method in class org.indy.CommandHandler
- Gets the disconnect attribute of the
CommandHandler
object
- isEmpty() -
Method in class org.indy.CommandHandlers
- DOCUMENT ME!
- isEnabled() -
Method in class org.indy.CommandHandler
- Gets the enabled attribute of the IdCommandHandler object
- isIP(String) -
Static method in class org.indy.util.IndyUtilities
- Gets the iP attribute of the IdGlobal class
- isParseParams() -
Method in class org.indy.CommandHandler
- Gets the parseParams attribute of the
CommandHandler
object
- isStopped() -
Method in class org.indy.IndyThread
- Gets the stopped attribute of the IdThread object
- iterator() -
Method in class org.indy.CommandHandlers
- DOCUMENT ME!
IndyComponent
passed in sender
has
commenced a chunk of work of the given IndyComponent.WorkMode
that will entail
processing size
bytes.
IdCommandHandler
instance
when a command has been sucessfuly parsed into an IdCommand
object.
sender
has sucessfully connected
sender
has disconnected
IndyComponent.WorkMode
has been
compoleted by the IndyComponent
sender
IndyComponent
passed in the sender
parameter.
sender
's status has changed.
IndyComponent.WorkMode
undertaken by
the IndyComponent
sender
has progressed by workCount
bytes.
open()
dest
until delim
is hit,
and returns the number of lines read into dest
IOHandler
's input
IOHandler
len
bytes from this IOHandler
len
bytes from this IOHandler
into
b
starting at off
len
bytes from this IOHandler
into
b
starting at off
waiting for up to timeout
for data.
IOHandler
's input
b
, with up to len
bytes of
data from the connection.
char
from the connection
int
from this connection.
IOHandler
's input
using the properties for read timeout and maxiumum linelength
maximumLineLength
and readTimeOut
properties.
IOHandler
's input.
IOHandler
using
If encoding
is null
the default
character encoding for the platform will be used.
readLine
and will allow upto
failCount
time outs before throwing
ReadTimedOutException
.
long
from the connection
IOHandler
.
ThreadManager
.
IdCommandListener
instance.
IndyComponentListener
from this component.
IOHandlerListener
from this IOHandler
's
listener listl
IOHandlerListener
from the listener list.
IOHandler
IOHandler
RFCReply
returned
by CommandEvent.getReply()
should be sent back to the peer.
Priority
for threads returned by this manager.
IOHandler
IOHandler
RFCReply
to be sent back to the peer.
RFCReply
object to use as a response to this command
StringList
that form the textual reponse for this command handler.
IdStrings
to use as a resopnse for this command
CommandHandler
object
ThreadFactory
to use for this manager.
IndyThread
should suspend when stop is called.
TCPClientListener
TCPClientEvent
TCPClient
.IndyThread
should terminate when stop is called.
args
it was
constructed with, if avialable.
StopMode
as a friendly name.
IOHandler
's output.
IOHandler
's output.
IOHandler
's output
String
to this connection.
File
object to the stream
StringList
as an RFC header, translating strings of the form
long
to the connection
RFCReply
to this connection.
StringList
instance
to this connection.
short
to the connection
InputStream
to the connection
StringList
instance
to the connection as individual lines.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |