BlueLibs documentation

OBEXConnectionBase Members

OBEXConnectionBase overview

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Constructors

OBEXConnectionBase Overloaded. Initializes a new instance of the OBEXConnectionBase class.

Public Instance Properties

Connected Returns the current status of the connection. When set this property it performs connect or disconnect actions. The value set in design time is not persisted.
Container (inherited from Component) Gets the IContainer that contains the Component.
Device Returns and sets an IDevice implementer class that represents a selected device to connect to.
MaxOBEXPacketLen Sets the maximum length supported for the OBEX packets. Actual packet length depends on what packet length the server supports. Check the property after establishing the connection to get actual used packet length.
OBEXClientHandle Returns OBEXClient or descendant object that handles current connection.
ReceiveTimeout Sets the timeout to use on receive in milliseconds
SendTimeout Sets the timeout to use on send in milliseconds
Site See Site
UseAsyncComm Set to true to use asynchronous communication through socket.

Public Instance Methods

Connect Connects to the specified in UseService service of the specified remote device in Device property. If device is not specified, opens a dialog to choose from a list of available remote devices.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Disconnect if connected, disconnects and release resources.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Component) 

Public Instance Events

Disposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
OnConnectionChanged Fires on changing connection status.

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component) Gets the list of event handlers that are attached to this Component.
ServiceID Service UUID to use to connect to remote device.

Protected Instance Methods

ConnectionChanged Is called when connection status is changed
CreateOBEXClientHandle Descendants have to override this method to provide its specific OBEXClient or any descendant object
DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component) Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OBEXConnectionBase Class | BlueLibs.Components Namespace