Click or drag to resize

wclCustomObexServer Class

The base class for OBEX server data processors.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomDataProcessor
    wclCommunicationwclCustomObexServer
      wclCommunicationwclObexOppServer

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntax
public abstract class wclCustomObexServer : wclCustomDataProcessor, 
	IDisposable

The wclCustomObexServer type exposes the following members.

Constructors
 NameDescription
Public methodwclCustomObexServer Creates new OBEX server client data processor.
Top
Properties
 NameDescription
Public propertyConnected Gets the connected state.
Public propertyConnectionId Gets the onnection ID.
Public propertyDescription The current server's description.
Public propertyTarget The current connected client's ID.
Protected propertyWho The service ID that is implemented by the server.
Top
Methods
 NameDescription
Public methodAccept Accepts a client's connection request.
Public methodDispose Disposes the object.
Protected methodDispose(Boolean) Disposes the object.
Protected methodDoConnect The method called when a remote client opens OBEX session (connects).
Protected methodDoDisconnected Calls the OnDisconnected event.
Protected methodDoGetCompleted Calls the OnGetCompleted event.
Protected methodDoGetRequest The method called when the GET request received from an OBEX OPP client.
Protected methodDoProgress Calls the OnProgress event.
Protected methodDoPutBegin Calls the OnPutBegin event.
Protected methodDoPutCompleted Calls the OnPutCompleted event.
Protected methodDoPutProgress Calls the OnPutProgress event.
Protected methodDoWrite Calls the OnWrite event.
(Inherited from wclCustomDataProcessor)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Finalizes the obejct.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodProcessData The method must be called by an application when a data has been received from a remote device.
(Overrides wclCustomDataProcessorProcessData(Byte))
Public methodReject Rejects the connection request.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodWrite Writes data to a connected remote device.
(Inherited from wclCustomDataProcessor)
Top
Events
 NameDescription
Public eventOnDisconnected The event is called when a remote client closes the OBEX session (disconnects).
Public eventOnGetCompleted The event is called when the get request completed.
Public eventOnProgress The event is called during sending the object.
Public eventOnPutBegin The event is called when client started object sending (OBEX PUT) operation. An application must accept or reject the object.
Public eventOnPutCompleted The event is called when all object has been received.
Public eventOnPutProgress The event is called during receiving the object.
Public eventOnWrite The event is called when a data processor needs to write a data to a remote device.
(Inherited from wclCustomDataProcessor)
Top
Remarks
The class is not thread-safe. An application must carry about threads synchronization when use methods of this class.
See Also