C# 클래스 AllJoynUnity.AllJoyn.BusAttachment

상속: IDisposable
파일 보기 프로젝트 열기: GameClay/alljoyn_unity 1 사용 예제들

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