TwclCustomObexServer Class
The base class for OBEX server data processors.
wclConnections.TwclCustomDataProcessor
wclConnections.TwclCustomServerClientDataProcessor
wclObex.TwclCustomObexServer
wclObex.TwclObexOppServer
type TwclCustomObexServer = class(TwclCustomServerClientDataProcessor) end;
The TwclCustomObexServer type exposes the following members.
Name | Description | |
---|---|---|
Create(TwclServerClientDataConnection) | Creates new OBEX Server Client Data Processor. (Overrides TwclCustomServerClientDataProcessor.Create(TwclServerClientDataConnection).) | |
Destroy | Frees the Data Processor. (Overrides TwclCustomServerClientDataProcessor.Destroy.) |
Name | Description | |
---|---|---|
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. |
Name | Description | |
---|---|---|
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 | |
DoGetCompleted(Integer,TStream) | Fires the | |
DoGetRequest(string,string,TwclObexServerOperationResult,TStream) | The method called when the GET request received from a OBEX OPP Client. | |
DoProgress(Cardinal,Cardinal) | Fires the | |
DoPutBegin(string,string,string,Cardinal,Boolean) | Fires the | |
DoPutCompleted(Integer,TStream,Boolean) | Fires the | |
DoPutProgress(Cardinal,Cardinal,Boolean) | Fires the | |
DoWrite(Pointer,Cardinal,Cardinal,Integer) | Fires the | |
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).) |
Name | Description | |
---|---|---|
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.) |