KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > msgs > PongMessage


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.msgs;
5
6 import com.tc.bytes.TCByteBuffer;
7 import com.tc.io.TCByteBufferOutputStream;
8 import com.tc.net.protocol.tcm.MessageChannel;
9 import com.tc.net.protocol.tcm.MessageMonitor;
10 import com.tc.net.protocol.tcm.TCMessageHeader;
11 import com.tc.net.protocol.tcm.TCMessageType;
12 import com.tc.object.msg.DSOMessageBase;
13 import com.tc.object.session.SessionID;
14
15 /**
16  * @author teck
17  */

18 public class PongMessage extends DSOMessageBase {
19
20   public PongMessage(MessageMonitor monitor, MessageChannel channel, TCMessageType type) {
21     super(monitor, new TCByteBufferOutputStream(4, 4096, false), channel, type);
22   }
23
24   public PongMessage(SessionID sessionID, MessageMonitor monitor, MessageChannel channel, TCMessageHeader header, TCByteBuffer[] data) {
25     super(sessionID, monitor, channel, header, data);
26   }
27
28 }
Popular Tags