Back to product page

Disconnected method


Called when wodHttpDLX disconnects from the server.

Type

None

Syntax

  • Basic
object.Disconnected Owner, ErrorCode, ErrorText
The Disconnected(object,Owner,ErrorCode,ErrorText) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpNotify.
OwnerRequired. A wodHttpDLXCom object. Reference to wodHttpDLXCom instance that called this notification method.
ErrorCodeRequired. A Long value. Holds error number that occured, if any.
ErrorTextRequired. A String value. Holds test descruption of the error.

Remarks

NOTE: This method is called only if you implemented IwodHttpNotify interface in your application, and wodHttp.Notification property has received reference to instance of your implementation.

This notification method is called when communication with a remote server is successfully terminated, or connection was closed due to the error. Communication may end either due to server's action, or as a result of Disconnect method.

Platforms

Windows