T - The type of the parameters contained in the data layer.
public class OCastApplicationLayer<T>
Represents an OCast application layer containing data.
| Constructor and Description |
|---|
OCastApplicationLayer(java.lang.String service,
OCastDataLayer<T> data)
Creates an instance of
class OCastApplicationLayer. |
| Modifier and Type | Method and Description |
|---|---|
OCastDataLayer<T> |
getData()
The data.
|
java.lang.String |
getService()
The identifier of the service associated to the data.
|
public OCastApplicationLayer(@Nullable
java.lang.String service,
@Nullable
OCastDataLayer<T> data)
Creates an instance of class OCastApplicationLayer.
service - The identifier of the service associated to the data.data - The data.class OCastApplicationLayer@Nullable public java.lang.String getService()
The identifier of the service associated to the data.
@Nullable public OCastDataLayer<T> getData()
The data.