C
- channel typeP
- payload typepublic interface KapuaMessage<C extends KapuaChannel,P extends KapuaPayload> extends Message<C,P>
Modifier and Type | Method and Description |
---|---|
Date |
getCapturedOn()
Get the message captured on date
|
C |
getChannel()
Get the message channel
|
String |
getClientId()
Get client identifier
|
KapuaId |
getDeviceId()
Get device identifier
|
UUID |
getId()
Get the message identifier
|
P |
getPayload()
Get the message payload
|
KapuaPosition |
getPosition()
Get the device position
|
Date |
getReceivedOn()
Get the message received on date
|
KapuaId |
getScopeId()
Get scope identifier
|
Date |
getSentOn()
Get the message sent on date
|
void |
setCapturedOn(Date capturedOn)
Set the message captured on date
|
void |
setChannel(C semanticChannel)
Set the message channel
|
void |
setClientId(String clientId)
Set client identifier
|
void |
setDeviceId(KapuaId deviceId)
Set device identifier
|
void |
setId(UUID id)
Set the message identifier
|
void |
setPayload(P payload)
Set the message payload
|
void |
setPosition(KapuaPosition position)
Set the device position
|
void |
setReceivedOn(Date receivedOn)
Set the message received on date
|
void |
setScopeId(KapuaId scopeId)
Set scope identifier
|
void |
setSentOn(Date sentOn)
Set the message sent on date
|
UUID getId()
void setId(UUID id)
id
- KapuaId getScopeId()
void setScopeId(KapuaId scopeId)
scopeId
- String getClientId()
void setClientId(String clientId)
clientId
- KapuaId getDeviceId()
void setDeviceId(KapuaId deviceId)
deviceId
- Date getReceivedOn()
void setReceivedOn(Date receivedOn)
receivedOn
- Date getSentOn()
void setSentOn(Date sentOn)
sentOn
- Date getCapturedOn()
void setCapturedOn(Date capturedOn)
capturedOn
- KapuaPosition getPosition()
void setPosition(KapuaPosition position)
position
- C getChannel()
void setChannel(C semanticChannel)
semanticChannel
- P getPayload()
void setPayload(P payload)
payload
- Copyright © 2017 Eclipse.org. All rights reserved.