java.lang.Object
org.refcodes.p2p.AbstractP2PHeader<LOCATOR>
- Type Parameters:
LOCATOR
- Defines the type of the locators identifying a peer.
- All Implemented Interfaces:
org.refcodes.mixin.DestinationAccessor<LOCATOR>
,P2PHeader<LOCATOR>
Abstract implementation of a
P2PHeader
.-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractP2PHeader
(LOCATOR aDestination) Constructs the header using the given destination locator as destination (getDestination()
). -
Method Summary
-
Field Details
-
_destination
-
-
Constructor Details
-
AbstractP2PHeader
Constructs the header using the given destination locator as destination (getDestination()
).- Parameters:
aDestination
- The destination locator to use.
-
-
Method Details