TwclCustomObexServer Class

The base class for OBEX server data processors.

Namespace: wclObex
type
 TwclCustomObexServer = class(TwclCustomServerClientDataProcessor)
 end;

The TwclCustomObexServer type exposes the following members.

Show:
 NameDescription
Create(TwclServerClientDataConnection)

Creates new OBEX Server Client Data Processor. (Overrides TwclCustomServerClientDataProcessor.Create(TwclServerClientDataConnection).)

Destroy

Frees the Data Processor. (Overrides TwclCustomServerClientDataProcessor.Destroy.)

Top
Show:
 NameDescription
Connected

Gets the connected state.

Connection

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

ConnectionId

Connection ID.

Description

The current server's description.

Target

The current connected client's ID.

Who

The service ID that is implemented by the server.

Top
Show:
 NameDescription
Accept(string,Word)

Accepts the client's connection request.

DoConnect(TGUID,TGUID,string)

The method called when a remote client opens OBEX session (connects).

DoDisconnected(Integer,string)

Fires the OnDisconnected event.

DoGetCompleted(Integer,TStream)

Fires the OnGetCompleted event.

DoGetRequest(string,string,TwclObexServerOperationResult,TStream)

The method called when the GET request received from a OBEX OPP Client.

DoProgress(Cardinal,Cardinal)

Fires the OnProgress event.

DoPutBegin(string,string,string,Cardinal,Boolean)

Fires the OnPutBegin event.

DoPutCompleted(Integer,TStream,Boolean)

Fires the OnPutCompleted event.

DoPutProgress(Cardinal,Cardinal,Boolean)

Fires the OnPutProgress event.

DoWrite(Pointer,Cardinal,Cardinal,Integer)

Fires the OnWrite event. (Inherited from TwclCustomDataProcessor.)

ProcessData(Pointer,Cardinal)

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

Reject(string)

Rejects the connection request.

Write(Pointer,Cardinal)

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

WriteData(Pointer,Cardinal,Cardinal)

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

Top
Show:
 NameDescription
OnDisconnected

The event fires when a remote client closes the OBEX session (disconnects).

OnGetCompleted

The event fires when the get request completed.

OnProgress

The event fires during sending the object.

OnPutBegin

The event fires when client started object sending (OBEX PUT) operation. An application must accept or reject the object.

OnPutCompleted

The event fires when all object has been received.

OnPutProgress

The event fires during receiving the object.

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