01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol;
05:
06: import com.tc.bytes.TCByteBuffer;
07: import com.tc.lang.Recyclable;
08:
09: /**
10: * Generic network header interface
11: *
12: * @author teck
13: */
14: public interface TCNetworkHeader extends Recyclable {
15: int getHeaderByteLength();
16:
17: TCByteBuffer getDataBuffer();
18:
19: void validate() throws TCProtocolException;
20:
21: }
|