• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Aetheros.OneM2M.Api
    • ApiExtensions
    • Application
    • Application.Configuration
    • ApplicationConfiguration
    • Application<TPrimitiveContent>
    • CoapConnection
    • CoapConnection<TPrimitiveContent>
    • CoapExtensions
    • CoapRequestException
    • Connection
    • Connection.ConnectionConfiguration
    • Connection.IConnectionConfiguration
    • Connection<TPrimitiveContent>
    • HttpConnection
    • HttpConnectionExtensions
    • HttpConnection<TPrimitiveContent>
    • HttpStatusException
    • OneM2MException
  • Aetheros.OneM2M.Api.Registration
    • Application
    • CertificateId
    • CertificateSigningRequest
    • CertificateSigningRequestBody
    • CertificateSigningResponse
    • CertificateSigningResponseBody
    • CertificateSigningStatus
    • ConfirmationRequest
    • ConfirmationRequestBody
    • ConfirmationResponse
    • ConfirmationResponseBody
  • Aetheros.Schema.AOS
    • MeterRead
    • MeterReadSchedule
    • MeterServicePolicy
    • MeterSvcData
    • PowerQualityData
    • ReadingType
    • ScheduleInterval
    • SummationData
    • TimeSchedule
  • Aetheros.Schema.OneM2M
    • AE
    • AEAnnc
    • AccessControlOperations
    • AccessControlPolicy
    • AccessControlPolicyAnnc
    • AccessControlRule
    • AccessControlRuleAccessControlContexts
    • AccessControlRuleAccessControlContextsAccessControlIpAddresses
    • ActionStatus
    • ActiveCmdhPolicy
    • AggregatedNotification
    • AggregatedNotificationContent<TPrimitiveContent>
    • AggregatedNotification<TPrimitiveContent>
    • AggregatedRequest
    • AggregatedRequestRequest
    • AggregatedRequestRequest<TPrimitiveContent>
    • AggregatedRequest<TPrimitiveContent>
    • AggregatedResponse
    • AggregatedResponse<TPrimitiveContent>
    • AllJoynApp
    • AllJoynAppAnnc
    • AllJoynDirection
    • AllJoynInterface
    • AllJoynInterfaceAnnc
    • AllJoynMethod
    • AllJoynMethodAnnc
    • AllJoynMethodCall
    • AllJoynMethodCallAnnc
    • AllJoynProperty
    • AllJoynPropertyAnnc
    • AllJoynSvcObject
    • AllJoynSvcObjectAnnc
    • AnnounceableResource
    • AnnounceableSubordinateResource
    • AnnouncedFlexContainerResource
    • AnnouncedMgmtResource
    • AnnouncedResource
    • AnnouncedSubordinateResource
    • AnyArgType
    • AreaNwkDeviceInfo
    • AreaNwkDeviceInfoAnnc
    • AreaNwkInfo
    • AreaNwkInfoAnnc
    • Attribute
    • BackOffParameters
    • BackOffParametersBackOffParametersSet
    • BatchNotify
    • Battery
    • BatteryAnnc
    • BatteryStatus
    • CSEBase
    • CSEBase<TPrimitiveContent>
    • ChildResourceRef
    • CmdType
    • CmdhBuffer
    • CmdhDefEcValue
    • CmdhDefaults
    • CmdhEcDefParamValues
    • CmdhLimits
    • CmdhLimitsLimitsDelAggregation
    • CmdhNetworkAccessRules
    • CmdhNwAccessRule
    • CmdhPolicy
    • ConsistencyStrategy
    • Container
    • ContainerAnnc
    • ContentFilterSyntax
    • ContentInstance
    • ContentInstanceAnnc
    • ContentRef
    • ContentRefURIReference
    • ContentSecurity
    • ContentStatus
    • CseTypeID
    • DataLink
    • DeletionContexts
    • Delivery
    • DeliveryMetaData
    • Delivery<TPrimitiveContent>
    • DeviceCapability
    • DeviceCapabilityAnnc
    • DeviceInfo
    • DeviceInfoAnnc
    • DiscResType
    • DownloadArgsType
    • DynAuthDasRequest
    • DynAuthDasRequestOriginatorIP
    • DynAuthDasResponse
    • DynAuthDasResponseDynamicACPInfo
    • DynAuthLocalTokenIdAssignments
    • DynAuthLocalTokenIdAssignmentsLocalTokenIdAssignment
    • DynAuthTokenReqInfo
    • DynAuthTokenReqInfoDasInfo
    • DynAuthTokenSummary
    • DynamicAuthorizationConsultation
    • E2ESecInfo
    • EncodingType
    • EsprimKeyGenAlgID
    • EsprimProtocolAndAlgID
    • EventConfig
    • EventLog
    • EventLogAnnc
    • EventNotificationCriteria
    • EventType
    • ExecInstance
    • ExecModeType
    • ExecReqArgsListType
    • ExecResultType
    • ExecStatusType
    • FilterCriteria
    • FilterUsage
    • Firmware
    • FirmwareAnnc
    • FlexContainerResource
    • GenericInterworkingOperationInstance
    • GenericInterworkingOperationInstanceAnnc
    • GenericInterworkingService
    • GenericInterworkingServiceAnnc
    • Group
    • GroupAnnc
    • JsonArrayItem<T>
    • ListOfChildResourceRef
    • ListOfDataLinks
    • LocationPolicy
    • LocationPolicyAnnc
    • LocationRegion
    • LocationSource
    • LogStatus
    • LogTypeId
    • LogicalOperator
    • M2MServiceSubscriptionProfile
    • MemberType
    • Memory
    • MemoryAnnc
    • MetaInformation
    • MgmtCmd
    • MgmtDefinition
    • MgmtLinkRef
    • MgmtResource
    • MissingData
    • NetworkAction
    • Node
    • NodeAnnc
    • Notification
    • NotificationContentType
    • NotificationContent<TPrimitiveContent>
    • NotificationEventType
    • NotificationIPEDiscoveryRequest
    • NotificationNotificationEvent
    • NotificationNotificationEventOperationMonitor
    • NotificationNotificationEvent<TPrimitiveContent>
    • NotificationTargetMgmtPolicyRef
    • NotificationTargetPolicy
    • NotificationTargetPolicyAction
    • Notification<TPrimitiveContent>
    • Operation
    • OperationResult
    • OperationResult<TPrimitiveContent>
    • OriginatorESPrimRandObject
    • PendingNotification
    • PeriodicIndicator
    • PermittedMediaTypes
    • PolicyDeletionRules
    • PollingChannel
    • PrimitiveContent
    • RateLimit
    • Reboot
    • RebootAnnc
    • RebootArgsType
    • ReceiverESPrimRandObject
    • RegularResource
    • RemoteCSE
    • RemoteCSEAnnc
    • Request
    • RequestPrimitive
    • RequestPrimitive<TPrimitiveContent>
    • RequestStatus
    • Request<TPrimitiveContent>
    • ResetArgsType
    • Resource
    • ResourceType
    • ResourceWrapper
    • Resources
    • ResponseContent
    • ResponseContent<TPrimitiveContent>
    • ResponsePrimitive
    • ResponsePrimitive<TPrimitiveContent>
    • ResponseStatusCode
    • ResponseType
    • ResponseTypeInfo
    • ResultContent
    • Role
    • Schedule
    • ScheduleAnnc
    • ScheduleEntries
    • SecurityInfo
    • SecurityInfoType
    • SemanticDescriptor
    • SemanticDescriptorAnnc
    • ServiceSubscribedAppRule
    • ServiceSubscribedNode
    • SetOfAcrs
    • SingleOrArrayConverter<T>
    • Software
    • SoftwareAnnc
    • SoftwareInstallArgsType
    • SoftwareUninstallArgsType
    • SoftwareUpdateArgsType
    • StatModelType
    • StationaryIndication
    • StatsCollect
    • StatsConfig
    • StatsRuleStatusType
    • Status
    • StdEventCats
    • SubordinateResource
    • Subscription
    • Suid
    • SvcFwWrapper
    • SvcFwWrapperAnnc
    • SvcObjWrapper
    • SvcObjWrapperAnnc
    • TimeSeries
    • TimeSeriesAnnc
    • TimeSeriesInstance
    • TimeSeriesInstanceAnnc
    • Token
    • TokenClaimSet
    • TokenPermission
    • TokenPermissions
    • TokenPermissionsItem
    • TrafficPattern
    • TrafficPatternAnnc
    • UploadArgsType

Class Connection<TPrimitiveContent>

Inheritance
object
Connection
Connection<TPrimitiveContent>
CoapConnection<TPrimitiveContent>
HttpConnection<TPrimitiveContent>
Implements
IDisposable
Inherited Members
Connection.Dispose()
Connection.Dispose(bool)
Connection.IsSecure
Connection.JsonSettings
Connection.DeserializeJson<T>(string)
Connection.DeserializeJson<T>(JToken)
Connection.SerializeJson(object)
Connection.GetAttributes<T>(params Expression<Func<T, object>>[])
Namespace: Aetheros.OneM2M.Api
Assembly: Aetheros.OneM2M.Api.dll
Syntax
public abstract class Connection<TPrimitiveContent> : Connection, IDisposable where TPrimitiveContent : PrimitiveContent, new()
Type Parameters
Name Description
TPrimitiveContent

Fields

| Edit this page View Source

_notifications

Declaration
protected readonly Subject<Notification<TPrimitiveContent>> _notifications
Field Value
Type Description
Subject<Notification<TPrimitiveContent>>

Properties

| Edit this page View Source

NextRequestId

Declaration
public string NextRequestId { get; }
Property Value
Type Description
string
| Edit this page View Source

Notifications

Declaration
public IObservable<Notification<TPrimitiveContent>> Notifications { get; }
Property Value
Type Description
IObservable<Notification<TPrimitiveContent>>

Methods

| Edit this page View Source

FindApplicationAsync(string)

Declaration
public Task<AE?> FindApplicationAsync(string aeId)
Parameters
Type Name Description
string aeId
Returns
Type Description
Task<AE>
| Edit this page View Source

GetChildResourcesAsync(string, string, FilterCriteria?)

Declaration
public Task<ResponseContent<TPrimitiveContent>> GetChildResourcesAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Type Name Description
string from
string to
FilterCriteria filterCriteria
Returns
Type Description
Task<ResponseContent<TPrimitiveContent>>
| Edit this page View Source

GetPrimitiveAsync(string, string, FilterCriteria?)

Declaration
public Task<ResponseContent<TPrimitiveContent>> GetPrimitiveAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Type Name Description
string from
string to
FilterCriteria filterCriteria
Returns
Type Description
Task<ResponseContent<TPrimitiveContent>>
| Edit this page View Source

GetRequestParameters(RequestPrimitive<TPrimitiveContent>)

Declaration
protected static NameValueCollection GetRequestParameters(RequestPrimitive<TPrimitiveContent> body)
Parameters
Type Name Description
RequestPrimitive<TPrimitiveContent> body
Returns
Type Description
NameValueCollection
| Edit this page View Source

GetResponseAsync(RequestPrimitive<TPrimitiveContent>)

Declaration
public Task<ResponseContent<TPrimitiveContent>> GetResponseAsync(RequestPrimitive<TPrimitiveContent> body)
Parameters
Type Name Description
RequestPrimitive<TPrimitiveContent> body
Returns
Type Description
Task<ResponseContent<TPrimitiveContent>>
| Edit this page View Source

GetResponseAsync<T>(RequestPrimitive<TPrimitiveContent>)

Declaration
public abstract Task<T> GetResponseAsync<T>(RequestPrimitive<TPrimitiveContent> body) where T : class, new()
Parameters
Type Name Description
RequestPrimitive<TPrimitiveContent> body
Returns
Type Description
Task<T>
Type Parameters
Name Description
T
| Edit this page View Source

ParseNotifications(string)

Declaration
public static IEnumerable<Notification<TPrimitiveContent>> ParseNotifications(string body)
Parameters
Type Name Description
string body
Returns
Type Description
IEnumerable<Notification<TPrimitiveContent>>
| Edit this page View Source

RegisterApplicationAsync(ApplicationConfiguration)

Declaration
public Task<AE> RegisterApplicationAsync(ApplicationConfiguration appConfig)
Parameters
Type Name Description
ApplicationConfiguration appConfig
Returns
Type Description
Task<AE>
| Edit this page View Source

TryGetPrimitiveAsync(string, string, FilterCriteria?)

Declaration
public Task<ResponseContent<TPrimitiveContent>?> TryGetPrimitiveAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Type Name Description
string from
string to
FilterCriteria filterCriteria
Returns
Type Description
Task<ResponseContent<TPrimitiveContent>>

Implements

IDisposable
  • Edit this page
  • View Source
In this article
Back to top Copyright © Aetheros, Inc.