KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > transport > TestSynAckMessage


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.transport;
5
6 import com.tc.exception.ImplementMe;
7
8 public class TestSynAckMessage extends TestTransportHandshakeMessage implements SynAckMessage {
9
10   public String JavaDoc getErrorContext() {
11     throw new ImplementMe();
12   }
13
14   public boolean hasErrorContext() {
15     throw new ImplementMe();
16   }
17
18   public boolean isSyn() {
19     return false;
20   }
21
22   public boolean isSynAck() {
23     return true;
24   }
25
26   public boolean isAck() {
27     return false;
28   }
29
30   public void recycle() {
31     return;
32   }
33
34 }
35
Popular Tags