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.net.core.TCConnection;8 9 /**10 * Message adaptor/parser for incoming data from TCConnection11 * 12 * @author teck13 */14 public interface TCProtocolAdaptor {15 public void addReadData(TCConnection source, TCByteBuffer data[], int length) throws TCProtocolException;16 17 public TCByteBuffer[] getReadBuffers(); 18 }19 20