- All Known Subinterfaces:
PacketMagicBytesAccessor.PacketMagicBytesProperty
- All Known Implementing Classes:
PacketInputStream
,PacketOutputStream
,StopAndWaitPacketInputStream
,StopAndWaitPacketOutputStream
,TransmissionMetrics
public interface PacketMagicBytesAccessor
Provides an accessor for a packet magic bytes property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
PacketMagicBytesAccessor.PacketMagicBytesBuilder<B extends PacketMagicBytesAccessor.PacketMagicBytesBuilder<B>>
Provides a builder method for a packet magic bytes property returning the builder for applying multiple build operations.static interface
Provides a mutator for a packet magic bytes property.static interface
Provides a packet magic bytes property. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Retrieves the magic bytes from the packet magic bytes property.
-
Method Details
-
getPacketMagicBytes
byte[] getPacketMagicBytes()Retrieves the magic bytes from the packet magic bytes property.- Returns:
- The magic bytes stored by the packet magic bytes property.
-