Package org.openmuc.eebus.spine.api
Interface RequestResult
-
public interface RequestResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eebus.docs.spine.xsd.v1.CmdType
getCmd()
Returns the cmd part of the datagram the request was answered with.org.eebus.docs.spine.xsd.v1.DatagramType
getDatagram()
Returns the complete datagram the request was answered with.org.eebus.docs.spine.xsd.v1.FeatureAddressType
getSenderAddress()
Returns the address of the sender who answered the request.
-
-
-
Method Detail
-
getDatagram
org.eebus.docs.spine.xsd.v1.DatagramType getDatagram()
Returns the complete datagram the request was answered with.- Returns:
- the answered request datagram
-
getCmd
org.eebus.docs.spine.xsd.v1.CmdType getCmd()
Returns the cmd part of the datagram the request was answered with.- Returns:
- the cmd part of the datagram answer
-
getSenderAddress
org.eebus.docs.spine.xsd.v1.FeatureAddressType getSenderAddress()
Returns the address of the sender who answered the request. This is equivalent toHeaderType.getAddressSource()
- Returns:
- the address of the sender of the answer
-
-