Package net.solarnetwork.ocpp.domain
Interface ActionMessage<T>
- Type Parameters:
T- the message type
- All Known Implementing Classes:
BasicActionMessage
public interface ActionMessage<T>
An action (verb) with a message (content).
This API is not specific to any OCPP protocol version, so that services can be designed that support multiple versions.
- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionocpp.domain.ActionGet the action (verb) to perform.Get the ID of the client that initiated the action.Get the message (content).Get the ID of this message.
-
Method Details
-
getClientId
ChargePointIdentity getClientId()Get the ID of the client that initiated the action.- Returns:
- the client ID
-
getMessageId
String getMessageId()Get the ID of this message.- Returns:
- the message ID
-
getAction
ocpp.domain.Action getAction()Get the action (verb) to perform.- Returns:
- the action; never null
-
getMessage
T getMessage()Get the message (content).- Returns:
- the message, or null
-