KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > TCNetworkHeader


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.protocol;
5
6 import com.tc.bytes.TCByteBuffer;
7 import com.tc.lang.Recyclable;
8
9 /**
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 }
Popular Tags