KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > TCMessageFactory


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.tcm;
5
6 import com.tc.bytes.TCByteBuffer;
7
8 public interface TCMessageFactory {
9
10   public TCMessage createMessage(MessageChannel source, TCMessageType type);
11
12   public TCMessage createMessage(MessageChannel source, TCMessageType type, TCMessageHeader header, TCByteBuffer[] data);
13
14   public void addClassMapping(TCMessageType type, Class JavaDoc msgClass);
15
16 }
17
Popular Tags