C# Класс AllJoynUnity.AllJoyn.BusAttachment

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

AddLogonEntry() публичный Метод

public AddLogonEntry ( string authMechanism, string userName, string password ) : QStatus
authMechanism string
userName string
password string
Результат QStatus

AddMatch() публичный Метод

public AddMatch ( string rule ) : QStatus
rule string
Результат QStatus

AdvertiseName() публичный Метод

public AdvertiseName ( string name, TransportMask transports ) : QStatus
name string
transports TransportMask
Результат QStatus

BindSessionPort() публичный Метод

public BindSessionPort ( ushort &sessionPort, SessionOpts opts, SessionPortListener listener ) : QStatus
sessionPort ushort
opts SessionOpts
listener SessionPortListener
Результат QStatus

BusAttachment() публичный Метод

public BusAttachment ( string applicationName, bool allowRemoteMessages ) : System
applicationName string
allowRemoteMessages bool
Результат System

CancelAdvertisedName() публичный Метод

public CancelAdvertisedName ( string name, TransportMask transports ) : QStatus
name string
transports TransportMask
Результат QStatus

CancelFindAdvertisedName() публичный Метод

public CancelFindAdvertisedName ( string namePrefix ) : QStatus
namePrefix string
Результат QStatus

ClearKeyStore() публичный Метод

public ClearKeyStore ( ) : void
Результат void

ClearKeys() публичный Метод

public ClearKeys ( string guid ) : QStatus
guid string
Результат QStatus

Connect() публичный Метод

public Connect ( string connectSpec ) : QStatus
connectSpec string
Результат QStatus

CreateInterface() публичный Метод

public CreateInterface ( string interfaceName, bool secure, InterfaceDescription &iface ) : QStatus
interfaceName string
secure bool
iface InterfaceDescription
Результат QStatus

CreateInterfacesFromXml() публичный Метод

public CreateInterfacesFromXml ( string xml ) : QStatus
xml string
Результат QStatus

DeleteInterface() публичный Метод

public DeleteInterface ( InterfaceDescription iface ) : QStatus
iface InterfaceDescription
Результат QStatus

Disconnect() публичный Метод

public Disconnect ( string connectSpec ) : QStatus
connectSpec string
Результат QStatus

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EnablePeerSecurity() публичный Метод

public EnablePeerSecurity ( string authMechanisms, AuthListener listener, string keyStoreFileName, bool isShared ) : QStatus
authMechanisms string
listener AuthListener
keyStoreFileName string
isShared bool
Результат QStatus

FindAdvertisedName() публичный Метод

public FindAdvertisedName ( string namePrefix ) : QStatus
namePrefix string
Результат QStatus

GetInterface() публичный Метод

public GetInterface ( string name ) : InterfaceDescription
name string
Результат InterfaceDescription

GetInterfaces() публичный Метод

public GetInterfaces ( ) : InterfaceDescription[]
Результат InterfaceDescription[]

GetKeyExpiration() публичный Метод

public GetKeyExpiration ( string guid, uint &timeout ) : QStatus
guid string
timeout uint
Результат QStatus

GetPeerGuid() публичный Метод

public GetPeerGuid ( string name, string &guid ) : QStatus
name string
guid string
Результат QStatus

JoinSession() публичный Метод

public JoinSession ( string sessionHost, ushort sessionPort, SessionListener listener, uint &sessionId, SessionOpts opts ) : QStatus
sessionHost string
sessionPort ushort
listener SessionListener
sessionId uint
opts SessionOpts
Результат QStatus

LeaveSession() публичный Метод

public LeaveSession ( uint sessionId ) : QStatus
sessionId uint
Результат QStatus

NameHasOwner() публичный Метод

public NameHasOwner ( string name, bool &hasOwner ) : QStatus
name string
hasOwner bool
Результат QStatus

RegisterBusListener() публичный Метод

public RegisterBusListener ( BusListener listener ) : void
listener BusListener
Результат void

RegisterBusObject() публичный Метод

public RegisterBusObject ( BusObject obj ) : QStatus
obj BusObject
Результат QStatus

RegisterKeyStoreListener() публичный Метод

public RegisterKeyStoreListener ( KeyStoreListener listener ) : QStatus
listener KeyStoreListener
Результат QStatus

ReleaseName() публичный Метод

public ReleaseName ( string requestedName ) : QStatus
requestedName string
Результат QStatus

ReloadKeyStore() публичный Метод

public ReloadKeyStore ( ) : QStatus
Результат QStatus

RemoveMatch() публичный Метод

public RemoveMatch ( string rule ) : QStatus
rule string
Результат QStatus

RequestName() публичный Метод

public RequestName ( string requestedName, DBus flags ) : QStatus
requestedName string
flags DBus
Результат QStatus

SetDaemonDebug() публичный Метод

public SetDaemonDebug ( string module, uint level ) : QStatus
module string
level uint
Результат QStatus

SetKeyExpiration() публичный Метод

public SetKeyExpiration ( string guid, uint timeout ) : QStatus
guid string
timeout uint
Результат QStatus

SetLinkTimeout() публичный Метод

public SetLinkTimeout ( uint sessionId, uint &linkTimeout ) : QStatus
sessionId uint
linkTimeout uint
Результат QStatus

SetSessionListener() публичный Метод

public SetSessionListener ( SessionListener listener, uint sessionId ) : QStatus
listener SessionListener
sessionId uint
Результат QStatus

Start() публичный Метод

public Start ( ) : QStatus
Результат QStatus

Stop() публичный Метод

public Stop ( ) : QStatus
Результат QStatus

UnbindSessionPort() публичный Метод

public UnbindSessionPort ( ushort sessionPort ) : QStatus
sessionPort ushort
Результат QStatus

UnregisterBusListener() публичный Метод

public UnregisterBusListener ( BusListener listener ) : void
listener BusListener
Результат void

UnregisterBusObject() публичный Метод

public UnregisterBusObject ( BusObject obj ) : void
obj BusObject
Результат void