Package org.openmuc.jeebus.spine.api
Interface RequestResult
-
public interface RequestResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.openmuc.jeebus.spine.xsd.v1.CmdTypegetCmd()Returns the cmd part of the datagram the request was answered with.org.openmuc.jeebus.spine.xsd.v1.DatagramTypegetDatagram()Returns the complete datagram the request was answered with.org.openmuc.jeebus.spine.xsd.v1.FeatureAddressTypegetSenderAddress()Returns the address of the sender who answered the request.
-
-
-
Method Detail
-
getDatagram
org.openmuc.jeebus.spine.xsd.v1.DatagramType getDatagram()
Returns the complete datagram the request was answered with.- Returns:
- the answered request datagram
-
getCmd
org.openmuc.jeebus.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.openmuc.jeebus.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
-
-