|
|
Options | Name | Purpose | |
---|---|---|---|
# | Connect () |
/** Connect to the server specified, based on existing ConnectionParameters */ |
|
# | Connect (ClientSocketConnectionParameters) |
/** Connect to the server specified, based on passed-in Connection Parameters
@param ClientSocketConnectionParameters Connection information for the connection. */ |
|
# | Connect (URI) |
/** Connect to the server specified, based on passed-in URI
@param URI Connection information for the connection. */ |
|
# | CreateServer () |
/** Creates a server object (ie this-object:Server). This is separated
from the Connect/Disconnect pair of methods so that one server can
be connected and disconnected multiple time. */ |
|
# | DestroyServer () |
/** Destroys the server object (ie this-object:Server). This is separated
from the Connect/Disconnect pair of methods so that one server can
be connected and disconnected multiple time. */ |
|
# | Disconnect () |
/** Disconnect from the server, if connected */ |
|
+ | LogMessage (character, integer) |
|
|
OnDataReceived (SocketReadEventArgs) |
/** Publishes the DataReceived event.
@param SocketReadEventArgs Arguments for this event */ |
||
OnReadTerminated (SocketReadEventArgs) |
/** Publishes the ReadTerminated event.
@param EventArgs Arguments for this event */ |
||
OnReadTimeout (SocketReadEventArgs) |
/** Publishes the ReadTimeout event.
@param EventArgs Arguments for this event */ |
||
# | ReadResponseHandler () |
/** Callback/event procedure fired on the READ-RESPONSE event of the
socket. */ |
|
# | WaitForResponse () |
/** Waits for a response from a write event on the socket with a
no timeout. Uses the default timeout, which is none/zero */ |
|
# | WaitForResponse (integer) |
/** Waits for a response from a write event on the socket.
@param integer A timeout value for read events in seconds. A zero
value means no timeout. */ |
|
# | WriteData (Memptr) |
/** Writes data to the connected server.
@param Memptr The data to be written to the socket. */ |
Options | Name | Purpose | |
---|---|---|---|
# | ClientSocket () |
/** Default constructor. Connection parameters can be specified via the
Connnect() method. */ |
|
# | ClientSocket (ClientSocketConnectionParameters) |
/** Constructor.
@param ClientSocketConnectionParameters A URI and other parameters that
this socket will connect to. */ |
Options | Name | Purpose | |
---|---|---|---|
# | DataReceived (ClientSocket, SocketReadEventArgs) |
/** Event fired when a chunk of data is received from the socket */ |
|
# | ReadTerminated (ClientSocket, SocketReadEventArgs) |
/** Fired when a read is terminated for an reason (socket disconnect, no data etc) */ |
|
# | ReadTimeout (ClientSocket, SocketReadEventArgs) |
/** Fired when a read times out (optional based on a timeout) */ |
Options | Name | Purpose | |
---|---|---|---|
# | LOGICAL Connected |
/** Returns true if the server is valid and connected. False otherwise */ |
|
# | OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters |
|
|
# | INTEGER DefaultReadTimeout |
/** The default timeout while waiting for the sockets to return reads.
Defaults to 'never' (zero). */ |
|
# | LOGICAL KeepAlive |
/** Sets the TCP socket option SO_KEEPALIVE.
Set arguments to TRUE to turn this option on or to FALSE to turn it off. */ |
|
# | INTEGER LingerTime |
/** Sets the TCP socket option SO-LINGER.
Returns ? if the SO-LINGER option is not enabled, or if the socket is not
yet created.
Setting this property to ? disables the SO-LINGER option. */ |
|
# | LOGICAL NoDelay |
/** Sets the TCP socket option TCP-NODELAY */ |
|
# | INTEGER ReadBufferSize |
/** The size of the data buffer read from the socket on notification, in bytes.
The socket may have less than this amount available, and will only
populate what it has.
Defaults to 8k (per suggestions at
http://stackoverflow.com/questions/2811006/what-is-a-good-buffer-size-for-socket-programming) */ |
|
# | INTEGER ReceiveBufferSize |
/** Sets the TCP socket option SO-RCVBUF.
Set arguments to the desired size of the buffer */ |
|
# | INTEGER ReceiveTimeout |
/** Sets the TCP socket option SO-RCVTIMEO.
Sets the timeout length�that is, the number of seconds the socket waits
to receive data before timing out. */ |
|
# | LOGICAL ReuseAddress |
/** Sets the TCP socket option SO-REUSEADDR */ |
|
# | INTEGER SendBufferSize |
/** Sets the TCP socket option SO-SNDBUF.
Set arguments to the desired size of the buffer */ |
|
# | Progress.Lang.Object Server |
|
Top
PROTECTED Connect ()
|
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED Connect (ClientSocketConnectionParameters)
|
||||||||||||||||
PROTECTED Connect (URI)
|
||||||||||||||||
PROTECTED CreateServer ()
|
||||||||||||||||
PROTECTED DestroyServer ()
|
||||||||||||||||
PROTECTED Disconnect ()
|
||||||||||||||||
PUBLIC LogMessage (character, integer)
|
||||||||||||||||
OnDataReceived (SocketReadEventArgs)
|
||||||||||||||||
OnReadTerminated (SocketReadEventArgs)
|
||||||||||||||||
OnReadTimeout (SocketReadEventArgs)
|
||||||||||||||||
PROTECTED ReadResponseHandler ()
|
||||||||||||||||
PROTECTED WaitForResponse ()
|
||||||||||||||||
PROTECTED WaitForResponse (integer)
|
||||||||||||||||
PROTECTED WriteData (Memptr)
|
PROTECTED ClientSocket ()
|
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED ClientSocket (ClientSocketConnectionParameters)
|
PROTECTED DataReceived (ClientSocket, SocketReadEventArgs)
|
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED ReadTerminated (ClientSocket, SocketReadEventArgs)
|
||||||||||||||||||
PROTECTED ReadTimeout (ClientSocket, SocketReadEventArgs)
|
PROTECTED LOGICAL Connected
|
|||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters
|
|||||||||||||||||||
PROTECTED INTEGER DefaultReadTimeout
|
|||||||||||||||||||
PROTECTED LOGICAL KeepAlive
|
|||||||||||||||||||
PROTECTED INTEGER LingerTime
|
|||||||||||||||||||
PROTECTED LOGICAL NoDelay
|
|||||||||||||||||||
PROTECTED INTEGER ReadBufferSize
|
|||||||||||||||||||
PROTECTED INTEGER ReceiveBufferSize
|
|||||||||||||||||||
PROTECTED INTEGER ReceiveTimeout
|
|||||||||||||||||||
PROTECTED LOGICAL ReuseAddress
|
|||||||||||||||||||
PROTECTED INTEGER SendBufferSize
|
|||||||||||||||||||
PROTECTED Progress.Lang.Object Server
|