C# Class Yodiwo.PaaS.AWSProxyNode.AWSProxy

Show file Open project: yodiwo/plegma

Public Properties

Property Type Description
LookupPortDirection ioPortDirection>.Dictionary
LookupThingState string>.Dictionary
LookupThingType ePortType>.Dictionary
awsAppClient Yodiwo.PaaS.Amazon.AWSApplicationClient

Public Methods

Method Description
Init ( ) : void
sendC2DMessages ( string topic, string data ) : void

Private Methods

Method Description
InitAWSConnection ( ) : void
InitYodiwoConnection ( ) : void
OnChangedStateCb ( Thing thing, Port port, string state ) : void
OnMqttThingRxMessage ( string data, string eventName ) : void
OnThingActivatedCb ( Thing thing ) : void
OnTransportConnectedCb ( Yodiwo Transport, string msg ) : void
OnTransportDisconnectedCb ( Yodiwo Transport, string msg ) : void
OnTransportErrorCb ( Yodiwo Transport, TransportErrors Error, string msg ) : void
OnUnexpectedMessageCb ( object message ) : void
ReconstructThing ( ThingDescriptor thdesc ) : Thing
RegisterThingStateCbs ( ) : void

Method Details

Init() public method

public Init ( ) : void
return void

sendC2DMessages() public method

public sendC2DMessages ( string topic, string data ) : void
topic string
data string
return void

Property Details

LookupPortDirection public static property

public static Dictionary LookupPortDirection
return ioPortDirection>.Dictionary

LookupThingState public static property

public static Dictionary LookupThingState
return string>.Dictionary

LookupThingType public static property

public static Dictionary LookupThingType
return ePortType>.Dictionary

awsAppClient public property

public AWSApplicationClient,Yodiwo.PaaS.Amazon awsAppClient
return Yodiwo.PaaS.Amazon.AWSApplicationClient