KickJava   Java API By Example, From Geeks To Geeks.

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


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.bytes.TCByteBuffer;
7 import com.tc.exception.ImplementMe;
8 import com.tc.net.core.TCConnection;
9 import com.tc.net.protocol.TCNetworkHeader;
10 import com.tc.net.protocol.TCNetworkMessage;
11
12 public class TestWireProtocolMessage implements WireProtocolMessage {
13
14   public TCConnection connection;
15   public TCNetworkHeader header;
16   
17   public short getMessageProtocol() {
18     throw new ImplementMe();
19   }
20
21   public WireProtocolHeader getWireProtocolHeader() {
22     throw new ImplementMe();
23   }
24
25   public TCNetworkHeader getHeader() {
26     return header;
27   }
28
29   public TCNetworkMessage getMessagePayload() {
30     throw new ImplementMe();
31   }
32
33   public TCByteBuffer[] getPayload() {
34     throw new ImplementMe();
35   }
36
37   public TCByteBuffer[] getEntireMessageData() {
38     throw new ImplementMe();
39   }
40
41   public boolean isSealed() {
42     throw new ImplementMe();
43   }
44
45   public void seal() {
46     throw new ImplementMe();
47
48   }
49
50   public int getDataLength() {
51     throw new ImplementMe();
52   }
53
54   public int getHeaderLength() {
55     throw new ImplementMe();
56   }
57
58   public int getTotalLength() {
59     throw new ImplementMe();
60   }
61
62   public void wasSent() {
63     throw new ImplementMe();
64
65   }
66
67   public void setSentCallback(Runnable JavaDoc callback) {
68     throw new ImplementMe();
69
70   }
71
72   public Runnable JavaDoc getSentCallback() {
73     throw new ImplementMe();
74   }
75
76   public TCConnection getSource() {
77     return connection;
78   }
79
80   public void recycle() {
81     return;
82   }
83
84 }
85
Popular Tags