Click or drag to resize

BluetoothPeerToPeerShareService Class

An implementation of the IPeerToPeerShareService which sends and receives data over bluetooth
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.UI.Services.BluetoothBluetoothPeerToPeerShareService

Namespace:  SanteDB.DisconnectedClient.UI.Services.Bluetooth
Assembly:  SanteDB.DisconnectedClient.UI (in SanteDB.DisconnectedClient.UI.dll) Version: 2.2.1
Syntax
public class BluetoothPeerToPeerShareService : IPeerToPeerShareService, 
	IServiceImplementation, IDaemonService, IDisposable

The BluetoothPeerToPeerShareService type exposes the following members.

Constructors
  NameDescription
Public methodBluetoothPeerToPeerShareService
Initializes a new instance of the BluetoothPeerToPeerShareService class
Top
Properties
  NameDescription
Public propertyIsRunning
True if the service is running
Public propertyServiceName
Gets the service name
Top
Methods
  NameDescription
Public methodDispose
Dispose the object
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRecipientList
Get all paired devices
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSend
Send the specified data to a recipient
Public methodStart
Start this service
Public methodStop
Stop this service
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventReceived
Data has been received
Public eventReceiving
Data is being recieved
Public eventSending
Data is being sent
Public eventSent
Data has been sent
Public eventStarted
Fired when the service is started
Public eventStarting
Fired when the service is starting
Public eventStopped
Fired when the service has stopped
Public eventStopping
fired when the service is stopping
Top
Fields
  NameDescription
Public fieldSERVICE_ID
Service identifier for the P2P service
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
Remarks

The bluetooth peer to peer sharing service allows SanteDB plug-ins to request and receive ad-hoc data between peers using bluetooth file sharing

See Also