KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > delivery > OOOProtocolMessageFactory


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.delivery;
5
6 import com.tc.bytes.TCByteBuffer;
7 import com.tc.net.protocol.TCNetworkMessage;
8
9 interface OOOProtocolMessageFactory {
10   public OOOProtocolMessage createNewAckRequestMessage();
11   
12   public OOOProtocolMessage createNewAckMessage(long sequence);
13   
14   public OOOProtocolMessage createNewSendMessage(long sequence, TCNetworkMessage payload);
15   
16   public OOOProtocolMessage createNewMessage(OOOProtocolMessageHeader header, TCByteBuffer[] data);
17 }
18
Popular Tags