C# Class AllJoynUnity.AllJoyn.BusAttachment

Inheritance: IDisposable
Datei anzeigen Open project: GameClay/alljoyn_unity Class Usage Examples

Private Properties

Property Type Description
MapBusAttachment BusAttachment
alljoyn_busattachment_addlogonentry int
alljoyn_busattachment_addmatch int
alljoyn_busattachment_advertisename int
alljoyn_busattachment_bindsessionport int
alljoyn_busattachment_canceladvertisename int
alljoyn_busattachment_cancelfindadvertisedname int
alljoyn_busattachment_clearkeys int
alljoyn_busattachment_clearkeystore void
alljoyn_busattachment_connect int
alljoyn_busattachment_create System.IntPtr
alljoyn_busattachment_createinterface int
alljoyn_busattachment_createinterfacesfromxml int
alljoyn_busattachment_deleteinterface int
alljoyn_busattachment_destroy System.IntPtr
alljoyn_busattachment_disconnect int
alljoyn_busattachment_enablepeersecurity int
alljoyn_busattachment_findadvertisedname int
alljoyn_busattachment_getalljoyndebugobj System.IntPtr
alljoyn_busattachment_getalljoynproxyobj System.IntPtr
alljoyn_busattachment_getdbusproxyobj System.IntPtr
alljoyn_busattachment_getglobalguidstring System.IntPtr
alljoyn_busattachment_getinterface System.IntPtr
alljoyn_busattachment_getinterfaces System.UIntPtr
alljoyn_busattachment_getkeyexpiration int
alljoyn_busattachment_getpeerguid int
alljoyn_busattachment_gettimestamp uint
alljoyn_busattachment_getuniquename System.IntPtr
alljoyn_busattachment_isconnected int
alljoyn_busattachment_ispeersecurityenabled int
alljoyn_busattachment_isstarted int
alljoyn_busattachment_isstopping int
alljoyn_busattachment_joinsession int
alljoyn_busattachment_leavesession int
alljoyn_busattachment_namehasowner int
alljoyn_busattachment_registerbuslistener void
alljoyn_busattachment_registerbusobject int
alljoyn_busattachment_registerkeystorelistener int
alljoyn_busattachment_releasename int
alljoyn_busattachment_reloadkeystore int
alljoyn_busattachment_removematch int
alljoyn_busattachment_requestname int
alljoyn_busattachment_setdaemondebug int
alljoyn_busattachment_setkeyexpiration int
alljoyn_busattachment_setlinktimeout int
alljoyn_busattachment_setsessionlistener int
alljoyn_busattachment_start int
alljoyn_busattachment_stop int
alljoyn_busattachment_unbindsessionport int
alljoyn_busattachment_unregisterbuslistener void
alljoyn_busattachment_unregisterbusobject void

Public Methods

Method Description
AddLogonEntry ( string authMechanism, string userName, string password ) : QStatus
AddMatch ( string rule ) : QStatus
AdvertiseName ( string name, TransportMask transports ) : QStatus
BindSessionPort ( ushort &sessionPort, SessionOpts opts, SessionPortListener listener ) : QStatus
BusAttachment ( string applicationName, bool allowRemoteMessages ) : System
CancelAdvertisedName ( string name, TransportMask transports ) : QStatus
CancelFindAdvertisedName ( string namePrefix ) : QStatus
ClearKeyStore ( ) : void
ClearKeys ( string guid ) : QStatus
Connect ( string connectSpec ) : QStatus
CreateInterface ( string interfaceName, bool secure, InterfaceDescription &iface ) : QStatus
CreateInterfacesFromXml ( string xml ) : QStatus
DeleteInterface ( InterfaceDescription iface ) : QStatus
Disconnect ( string connectSpec ) : QStatus
Dispose ( ) : void
EnablePeerSecurity ( string authMechanisms, AuthListener listener, string keyStoreFileName, bool isShared ) : QStatus
FindAdvertisedName ( string namePrefix ) : QStatus
GetInterface ( string name ) : InterfaceDescription
GetInterfaces ( ) : InterfaceDescription[]
GetKeyExpiration ( string guid, uint &timeout ) : QStatus
GetPeerGuid ( string name, string &guid ) : QStatus
JoinSession ( string sessionHost, ushort sessionPort, SessionListener listener, uint &sessionId, SessionOpts opts ) : QStatus
LeaveSession ( uint sessionId ) : QStatus
NameHasOwner ( string name, bool &hasOwner ) : QStatus
RegisterBusListener ( BusListener listener ) : void
RegisterBusObject ( BusObject obj ) : QStatus
RegisterKeyStoreListener ( KeyStoreListener listener ) : QStatus
ReleaseName ( string requestedName ) : QStatus
ReloadKeyStore ( ) : QStatus
RemoveMatch ( string rule ) : QStatus
RequestName ( string requestedName, DBus flags ) : QStatus
SetDaemonDebug ( string module, uint level ) : QStatus
SetKeyExpiration ( string guid, uint timeout ) : QStatus
SetLinkTimeout ( uint sessionId, uint &linkTimeout ) : QStatus
SetSessionListener ( SessionListener listener, uint sessionId ) : QStatus
Start ( ) : QStatus
Stop ( ) : QStatus
UnbindSessionPort ( ushort sessionPort ) : QStatus
UnregisterBusListener ( BusListener listener ) : void
UnregisterBusObject ( BusObject obj ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
MapBusAttachment ( IntPtr key ) : BusAttachment
alljoyn_busattachment_addlogonentry ( IntPtr bus, [ authMechanism, [ userName, [ password ) : int
alljoyn_busattachment_addmatch ( IntPtr bus, [ rule ) : int
alljoyn_busattachment_advertisename ( IntPtr bus, [ name, ushort transports ) : int
alljoyn_busattachment_bindsessionport ( IntPtr bus, ushort &sessionPort, IntPtr opts, IntPtr listener ) : int
alljoyn_busattachment_canceladvertisename ( IntPtr bus, [ name, ushort transports ) : int
alljoyn_busattachment_cancelfindadvertisedname ( IntPtr bus, [ namePrefix ) : int
alljoyn_busattachment_clearkeys ( IntPtr bus, [ guid ) : int
alljoyn_busattachment_clearkeystore ( IntPtr bus ) : void
alljoyn_busattachment_connect ( IntPtr bus, [ connectSpec ) : int
alljoyn_busattachment_create ( [ applicationName, int allowRemoteMessages ) : IntPtr
alljoyn_busattachment_createinterface ( IntPtr bus, [ name, IntPtr &iface, int secure ) : int
alljoyn_busattachment_createinterfacesfromxml ( IntPtr bus, [ xml ) : int
alljoyn_busattachment_deleteinterface ( IntPtr bus, IntPtr iface ) : int
alljoyn_busattachment_destroy ( IntPtr busAttachment ) : IntPtr
alljoyn_busattachment_disconnect ( IntPtr bus, [ connectSpec ) : int
alljoyn_busattachment_enablepeersecurity ( IntPtr bus, [ authMechanisms, IntPtr listener, [ keyStoreFileName, int isShared ) : int
alljoyn_busattachment_findadvertisedname ( IntPtr bus, [ namePrefix ) : int
alljoyn_busattachment_getalljoyndebugobj ( IntPtr bus ) : IntPtr
alljoyn_busattachment_getalljoynproxyobj ( IntPtr bus ) : IntPtr
alljoyn_busattachment_getdbusproxyobj ( IntPtr bus ) : IntPtr
alljoyn_busattachment_getglobalguidstring ( IntPtr bus ) : IntPtr
alljoyn_busattachment_getinterface ( IntPtr bus, [ name ) : IntPtr
alljoyn_busattachment_getinterfaces ( IntPtr bus, IntPtr ifaces, UIntPtr numIfaces ) : UIntPtr
alljoyn_busattachment_getkeyexpiration ( IntPtr bus, [ guid, uint &timeout ) : int
alljoyn_busattachment_getpeerguid ( IntPtr bus, [ name, IntPtr guid, UIntPtr &guidSz ) : int
alljoyn_busattachment_gettimestamp ( ) : uint
alljoyn_busattachment_getuniquename ( IntPtr bus ) : IntPtr
alljoyn_busattachment_isconnected ( IntPtr bus ) : int
alljoyn_busattachment_ispeersecurityenabled ( IntPtr bus ) : int
alljoyn_busattachment_isstarted ( IntPtr bus ) : int
alljoyn_busattachment_isstopping ( IntPtr bus ) : int
alljoyn_busattachment_joinsession ( IntPtr bus, [ sessionHost, ushort sessionPort, IntPtr listener, uint &sessionId, IntPtr opts ) : int
alljoyn_busattachment_leavesession ( IntPtr bus, uint sessionId ) : int
alljoyn_busattachment_namehasowner ( IntPtr bus, [ name, int &hasOwner ) : int
alljoyn_busattachment_registerbuslistener ( IntPtr bus, IntPtr listener ) : void
alljoyn_busattachment_registerbusobject ( IntPtr bus, IntPtr obj ) : int
alljoyn_busattachment_registerkeystorelistener ( IntPtr bus, IntPtr listener ) : int
alljoyn_busattachment_releasename ( IntPtr bus, [ name ) : int
alljoyn_busattachment_reloadkeystore ( IntPtr bus ) : int
alljoyn_busattachment_removematch ( IntPtr bus, [ rule ) : int
alljoyn_busattachment_requestname ( IntPtr bus, [ requestedName, uint flags ) : int
alljoyn_busattachment_setdaemondebug ( IntPtr bus, [ module, uint level ) : int
alljoyn_busattachment_setkeyexpiration ( IntPtr bus, [ guid, uint timeout ) : int
alljoyn_busattachment_setlinktimeout ( IntPtr bus, uint sessionid, uint &linkTimeout ) : int
alljoyn_busattachment_setsessionlistener ( IntPtr bus, uint sessionId, IntPtr listener ) : int
alljoyn_busattachment_start ( IntPtr bus ) : int
alljoyn_busattachment_stop ( IntPtr bus ) : int
alljoyn_busattachment_unbindsessionport ( IntPtr bus, ushort sessionPort ) : int
alljoyn_busattachment_unregisterbuslistener ( IntPtr bus, IntPtr listener ) : void
alljoyn_busattachment_unregisterbusobject ( IntPtr bus, IntPtr obj ) : void

Method Details

AddLogonEntry() public method

public AddLogonEntry ( string authMechanism, string userName, string password ) : QStatus
authMechanism string
userName string
password string
return QStatus

AddMatch() public method

public AddMatch ( string rule ) : QStatus
rule string
return QStatus

AdvertiseName() public method

public AdvertiseName ( string name, TransportMask transports ) : QStatus
name string
transports TransportMask
return QStatus

BindSessionPort() public method

public BindSessionPort ( ushort &sessionPort, SessionOpts opts, SessionPortListener listener ) : QStatus
sessionPort ushort
opts SessionOpts
listener SessionPortListener
return QStatus

BusAttachment() public method

public BusAttachment ( string applicationName, bool allowRemoteMessages ) : System
applicationName string
allowRemoteMessages bool
return System

CancelAdvertisedName() public method

public CancelAdvertisedName ( string name, TransportMask transports ) : QStatus
name string
transports TransportMask
return QStatus

CancelFindAdvertisedName() public method

public CancelFindAdvertisedName ( string namePrefix ) : QStatus
namePrefix string
return QStatus

ClearKeyStore() public method

public ClearKeyStore ( ) : void
return void

ClearKeys() public method

public ClearKeys ( string guid ) : QStatus
guid string
return QStatus

Connect() public method

public Connect ( string connectSpec ) : QStatus
connectSpec string
return QStatus

CreateInterface() public method

public CreateInterface ( string interfaceName, bool secure, InterfaceDescription &iface ) : QStatus
interfaceName string
secure bool
iface InterfaceDescription
return QStatus

CreateInterfacesFromXml() public method

public CreateInterfacesFromXml ( string xml ) : QStatus
xml string
return QStatus

DeleteInterface() public method

public DeleteInterface ( InterfaceDescription iface ) : QStatus
iface InterfaceDescription
return QStatus

Disconnect() public method

public Disconnect ( string connectSpec ) : QStatus
connectSpec string
return QStatus

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EnablePeerSecurity() public method

public EnablePeerSecurity ( string authMechanisms, AuthListener listener, string keyStoreFileName, bool isShared ) : QStatus
authMechanisms string
listener AuthListener
keyStoreFileName string
isShared bool
return QStatus

FindAdvertisedName() public method

public FindAdvertisedName ( string namePrefix ) : QStatus
namePrefix string
return QStatus

GetInterface() public method

public GetInterface ( string name ) : InterfaceDescription
name string
return InterfaceDescription

GetInterfaces() public method

public GetInterfaces ( ) : InterfaceDescription[]
return InterfaceDescription[]

GetKeyExpiration() public method

public GetKeyExpiration ( string guid, uint &timeout ) : QStatus
guid string
timeout uint
return QStatus

GetPeerGuid() public method

public GetPeerGuid ( string name, string &guid ) : QStatus
name string
guid string
return QStatus

JoinSession() public method

public JoinSession ( string sessionHost, ushort sessionPort, SessionListener listener, uint &sessionId, SessionOpts opts ) : QStatus
sessionHost string
sessionPort ushort
listener SessionListener
sessionId uint
opts SessionOpts
return QStatus

LeaveSession() public method

public LeaveSession ( uint sessionId ) : QStatus
sessionId uint
return QStatus

NameHasOwner() public method

public NameHasOwner ( string name, bool &hasOwner ) : QStatus
name string
hasOwner bool
return QStatus

RegisterBusListener() public method

public RegisterBusListener ( BusListener listener ) : void
listener BusListener
return void

RegisterBusObject() public method

public RegisterBusObject ( BusObject obj ) : QStatus
obj BusObject
return QStatus

RegisterKeyStoreListener() public method

public RegisterKeyStoreListener ( KeyStoreListener listener ) : QStatus
listener KeyStoreListener
return QStatus

ReleaseName() public method

public ReleaseName ( string requestedName ) : QStatus
requestedName string
return QStatus

ReloadKeyStore() public method

public ReloadKeyStore ( ) : QStatus
return QStatus

RemoveMatch() public method

public RemoveMatch ( string rule ) : QStatus
rule string
return QStatus

RequestName() public method

public RequestName ( string requestedName, DBus flags ) : QStatus
requestedName string
flags DBus
return QStatus

SetDaemonDebug() public method

public SetDaemonDebug ( string module, uint level ) : QStatus
module string
level uint
return QStatus

SetKeyExpiration() public method

public SetKeyExpiration ( string guid, uint timeout ) : QStatus
guid string
timeout uint
return QStatus

SetLinkTimeout() public method

public SetLinkTimeout ( uint sessionId, uint &linkTimeout ) : QStatus
sessionId uint
linkTimeout uint
return QStatus

SetSessionListener() public method

public SetSessionListener ( SessionListener listener, uint sessionId ) : QStatus
listener SessionListener
sessionId uint
return QStatus

Start() public method

public Start ( ) : QStatus
return QStatus

Stop() public method

public Stop ( ) : QStatus
return QStatus

UnbindSessionPort() public method

public UnbindSessionPort ( ushort sessionPort ) : QStatus
sessionPort ushort
return QStatus

UnregisterBusListener() public method

public UnregisterBusListener ( BusListener listener ) : void
listener BusListener
return void

UnregisterBusObject() public method

public UnregisterBusObject ( BusObject obj ) : void
obj BusObject
return void