Class Connection<TPrimitiveContent>
Inheritance
object
Connection<TPrimitiveContent>
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
Properties
|
Edit this page
View Source
NextRequestId
Declaration
public string NextRequestId { get; }
Property Value
|
Edit this page
View Source
Notifications
Declaration
public IObservable<Notification<TPrimitiveContent>> Notifications { get; }
Property Value
Methods
|
Edit this page
View Source
FindApplicationAsync(string)
Declaration
public Task<AE?> FindApplicationAsync(string aeId)
Parameters
Type |
Name |
Description |
string |
aeId |
|
Returns
|
Edit this page
View Source
GetChildResourcesAsync(string, string, FilterCriteria?)
Declaration
public Task<ResponseContent<TPrimitiveContent>> GetChildResourcesAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Returns
|
Edit this page
View Source
GetPrimitiveAsync(string, string, FilterCriteria?)
Declaration
public Task<ResponseContent<TPrimitiveContent>> GetPrimitiveAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Returns
|
Edit this page
View Source
GetRequestParameters(RequestPrimitive<TPrimitiveContent>)
Declaration
protected static NameValueCollection GetRequestParameters(RequestPrimitive<TPrimitiveContent> body)
Parameters
Returns
|
Edit this page
View Source
GetResponseAsync(RequestPrimitive<TPrimitiveContent>)
Declaration
public Task<ResponseContent<TPrimitiveContent>> GetResponseAsync(RequestPrimitive<TPrimitiveContent> body)
Parameters
Returns
|
Edit this page
View Source
GetResponseAsync<T>(RequestPrimitive<TPrimitiveContent>)
Declaration
public abstract Task<T> GetResponseAsync<T>(RequestPrimitive<TPrimitiveContent> body) where T : class, new()
Parameters
Returns
Type Parameters
|
Edit this page
View Source
ParseNotifications(string)
Declaration
public static IEnumerable<Notification<TPrimitiveContent>> ParseNotifications(string body)
Parameters
Type |
Name |
Description |
string |
body |
|
Returns
|
Edit this page
View Source
RegisterApplicationAsync(ApplicationConfiguration)
Declaration
public Task<AE> RegisterApplicationAsync(ApplicationConfiguration appConfig)
Parameters
Returns
|
Edit this page
View Source
TryGetPrimitiveAsync(string, string, FilterCriteria?)
Declaration
public Task<ResponseContent<TPrimitiveContent>?> TryGetPrimitiveAsync(string from, string to, FilterCriteria? filterCriteria = null)
Parameters
Returns
Implements