TwclObexOppServer Class

The data processor implements the OBEX Object Push Profile (OPP) server.

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

The TwclObexOppServer type exposes the following members.

Show:
 NameDescription
Create(TwclServerClientDataConnection)

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

Top
Show:
 NameDescription
Connected

Gets the connected state. (Inherited from TwclCustomObexServer.)

Connection

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

ConnectionId

Connection ID. (Inherited from TwclCustomObexServer.)

Description

The current server's description. (Inherited from TwclCustomObexServer.)

Target

The current connected client's ID. (Inherited from TwclCustomObexServer.)

Who

The service ID that is implemented by the server. (Inherited from TwclCustomObexServer.)

Top
Show:
 NameDescription
Accept(string,Word)

Accepts the client's connection request. (Inherited from TwclCustomObexServer.)

DoConnect(TGUID,TGUID,string)

The method called when a remote client opens OBEX session (connects). (Overrides TwclCustomObexServer.DoConnect(TGUID,TGUID,string).)

DoDisconnected(Integer,string)

Fires the OnDisconnected event. (Inherited from TwclCustomObexServer.)

DoGetCompleted(Integer,TStream)

Fires the OnGetCompleted event. (Inherited from TwclCustomObexServer.)

DoGetRequest(string,string,TwclObexServerOperationResult,TStream)
DoProgress(Cardinal,Cardinal)

Fires the OnProgress event. (Inherited from TwclCustomObexServer.)

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

Fires the OnPutBegin event. (Inherited from TwclCustomObexServer.)

DoPutCompleted(Integer,TStream,Boolean)

Fires the OnPutCompleted event. (Inherited from TwclCustomObexServer.)

DoPutProgress(Cardinal,Cardinal,Boolean)

Fires the OnPutProgress event. (Inherited from TwclCustomObexServer.)

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. (Inherited from TwclCustomObexServer.)

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
OnConnect

The event fires when a client connects to the server.

OnDisconnected

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

OnGetCompleted

The event fires when the get request completed. (Inherited from TwclCustomObexServer.)

OnGetRequest

The event fires when a remote connected client requests the OBEX object (sends the get request).

OnProgress

The event fires during sending the object. (Inherited from TwclCustomObexServer.)

OnPutBegin

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

OnPutCompleted

The event fires when all object has been received. (Inherited from TwclCustomObexServer.)

OnPutProgress

The event fires during receiving the object. (Inherited from TwclCustomObexServer.)

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