Package se.sics.kompics.network
Interface Header<Adr extends Address>
- All Known Implementing Classes:
TestHeader
public interface Header<Adr extends Address>
- Author:
- Lars Kroll <[email protected]>
-
Method Summary
Modifier and Type Method Description Adr
getDestination()
Where is the message supposed to go.Transport
getProtocol()
What protocol should be used to send the message.Adr
getSource()
Where does the message come from.
-
Method Details
-
getSource
Where does the message come from.- Returns:
-
getDestination
Where is the message supposed to go.- Returns:
-
getProtocol
What protocol should be used to send the message. Note that not all network implementations have to implement all the available protocols.- Returns:
-