KickJava   Java API By Example, From Geeks To Geeks.

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


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 abstract class TestTransportHandshakeMessage extends TestWireProtocolMessage implements
9     TransportHandshakeMessage {
10
11   public ConnectionID connectionID = ConnectionID.NULL_ID;
12
13   public ConnectionID getConnectionId() {
14     return connectionID;
15   }
16
17   public boolean isMaxConnectionsExceeded() {
18     throw new ImplementMe();
19   }
20
21   public int getMaxConnections() {
22     throw new ImplementMe();
23   }
24
25 }
26
Popular Tags