TwclObexFileClient Class

The base class for OBEX file based clients: OPP, FTP, etc.

Namespace: wclObex
type
 TwclObexFileClient = class(TwclCustomObexClient)
 end;

The TwclObexFileClient type exposes the following members.

Show:
 NameDescription
Create(TwclClientDataConnection)

Creates new OBEX File Client Data Processor. (Overrides TwclCustomObexClient.Create(TwclClientDataConnection).)

Top
Show:
 NameDescription
Connected

Gets the connected state. (Inherited from TwclCustomObexClient.)

Connection

Gets the connection object used to communicate with a remote device. (Inherited from TwclCustomClientDataProcessor.)

Top
Show:
 NameDescription
Abort(string)

Aborts current operation executing. (Inherited from TwclCustomObexClient.)

Connect(TGUID,TGUID,string,Word)

Connects to an OBEX server. (Inherited from TwclCustomObexClient.)

Disconnect(string)

Disconnects from an OBEX server. (Inherited from TwclCustomObexClient.)

DoConnect(Integer,string)

Fires the OnConnect event. (Inherited from TwclCustomObexClient.)

DoDisconnect(Integer,string)

Fires the OnDisconnect event. (Inherited from TwclCustomObexClient.)

DoGetComplete(Integer,string,TStream)

Fires the OnGetComplete event. (Overrides TwclCustomObexClient.DoGetComplete(Integer,string,TStream).)

DoProgress(Cardinal,Cardinal)

Fires the OnProgress event. (Inherited from TwclCustomObexClient.)

DoPutComplete(Integer,string,TStream)

Fires the OnPutComplete event. (Overrides TwclCustomObexClient.DoPutComplete(Integer,string,TStream).)

DoSetPathComplete(Integer,string)

The method called when the OBEX SET_PATH operation has been completed. (Inherited from TwclCustomObexClient.)

DoWrite(Pointer,Cardinal,Cardinal,Integer)

Fires the OnWrite event. (Inherited from TwclCustomDataProcessor.)

Get(string,string,TStream)

Requests an object from a server. (Inherited from TwclCustomObexClient.)

ProcessData(Pointer,Cardinal)

The method called by the Connection when data has been received from a remote device. (Overrides TwclCustomDataProcessor.ProcessData(Pointer,Cardinal).)

Put(string,string,TStream)

Overloaded. Sends one object from the client to the server.

SetPath(string,Boolean)

Changes the current directory on the server's side. (Inherited from TwclCustomObexClient.)

Write(Pointer,Cardinal)

Sends data to the connected device. (Inherited from TwclCustomDataProcessor.)

WriteData(Pointer,Cardinal,Cardinal)

Writes data to the Client Connection. (Overrides TwclCustomDataProcessor.WriteData(Pointer,Cardinal,Cardinal).)

Top
Show:
 NameDescription
OnConnect

The event fires when the Connect operation has been completed completed. (Inherited from TwclCustomObexClient.)

OnDisconnect

The event fires when the Disconnect operation completed. (Inherited from TwclCustomObexClient.)

OnGetComplete

The event fires when the Get operation has been completed.

OnProgress

The event fires during sending or receiving an object to indicate operation prorgess. (Inherited from TwclCustomObexClient.)

OnPutComplete

The event fires when the Put operation has been completed.

OnWrite

The event fires when the Data Processor needs to write data to a connection but a connection is not assigned. (Inherited from TwclCustomDataProcessor.)

Top

The class provides some basic events and methods that are common for all file based OBEX clients.