meta data for this page
Differences
This shows you the differences between two versions of the page.
— |
peerhood:interface [2011/09/02 12:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | The following functions are implemented in PeerHood library (thus they are used in PeerHood operation) | ||
+ | |||
+ | virtual ~MpeerHood() | ||
+ | |||
+ | static MpeerHood* GetInstanece(callback) | ||
+ | |||
+ | virtual bool Init(argc, argv) | ||
+ | |||
+ | virtual TDeviceList* GetDeviceListL() | ||
+ | |||
+ | virtual TDeviceList* GetDeviceListL(servicename) | ||
+ | |||
+ | virtual TDeviceList* GetLocalServiceListL() | ||
+ | |||
+ | virtual MAbstractConnection* Connect(service) | ||
+ | |||
+ | virtual MAbstractConnection* Connect(device, service) | ||
+ | |||
+ | virtual bool RegisterService(name, attributes) | ||
+ | |||
+ | virtual bool RegisterService(name, attributes, port) | ||
+ | |||
+ | virtual bool UnregisterService(name) | ||
+ | |||
+ | virtual bool MonitorDevice(device) | ||
+ | |||
+ | virtual bool UnmonitorDevice(device) | ||
+ | |||
+ | virtual bool SignalMonitorDevice(device) | ||
+ | |||
+ | virtual bool SignalUnmonitorDevice(device) | ||
+ | |||
+ | virtual void SetPreferedPlugin(pluginname) | ||