com.neeve.pkt
Interface PktBuffer.Initializer

All Known Implementing Classes:
OdsTool.StoreObjectPacket, PktBody, PktBodyAepEnvironmentDataPacket, PktBodyAepFlow, PktBodyAepInboundSnoTable, PktBodyAepInboundSnoTableEntry, PktBodyCompressedText, PktBodyData, PktBodyDiscoveryESA, PktBodyDiscoveryESASolicitation, PktBodyEmpty, PktBodyFixed, PktBodyFucClose, PktBodyFucConnectHandshake, PktBodyFucConnectReply, PktBodyFucConnectRequest, PktBodyFucReset, PktBodyJoinReply, PktBodyJoinRequest, PktBodyLeaveReply, PktBodyLeaveRequest, PktBodyOdsCommitAck, PktBodyOdsInitEnd, PktBodyOdsInitStart, PktBodyOdsLeaderHello, PktBodyOdsLeaderHelloReply, PktBodyOdsMemberConnect, PktBodyOdsObjectRemove, PktBodyOdsStoreClear, PktBodyRecoveryLogCheckpointState, PktBodyRecoveryLogEOFMarker, PktBodyReply, PktBodyRequest, PktBodyRmcAck, PktBodyRogRecoveryLogProtobufEnvelope, PktBodyRouterClientConnectReply, PktBodyRouterClientConnectRequest, PktBodyRouterCongestion, PktBodyRouterHandshake, PktBodyRouterHandshakeReply, PktBodyRouterHandshakeRequest, PktBodyRouterServiceConnectReply, PktBodyRouterServiceConnectRequest, PktBodyServerAdminReply, PktBodyServerAdminRequest, PktBodyServerClientConnectReply, PktBodyServerClientConnectRequest, PktBodyServerTraceRecord, PktBodySmaAck, PktBodySmaBlobEnvelope, PktBodyStoContainer, PktBodyText, PktBodyVariable, PktBodyXbufContainer, PktHeader, PktSubheader, PktSubheaderFixed, PktSubheaderFMC, PktSubheaderFUC, PktSubheaderHSpace, PktSubheaderODS, PktSubheaderROGRL, PktSubheaderRR, PktSubheaderSMA, PktSubheaderVariable
Enclosing class:
PktBuffer

public static interface PktBuffer.Initializer

Used to initialize the buffer

The user registers an instance of this interface with a packet buffer to initialize the contents of the backing IO buffer when first created by the packet buffer.

Note: A packet buffer is ready for population immediately after it is created. Backing buffer creation is done on demand by the packet buffer. This interface is used if a user wants to wait till one of the on-demand operations creates the backing buffer before initializing the buffer rather than doing in up front.


Method Summary
 void initializeBuffer()
          Invoked to initialize the buffer The buffer is prepared and ready for population when this method is invoked.
 

Method Detail

initializeBuffer

void initializeBuffer()
Invoked to initialize the buffer

The buffer is prepared and ready for population when this method is invoked.



Copyright © 2015 Neeve Research, LLC. All Rights Reserved.