KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > TestRequestManagedObjectMessage


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.object;
6
7 import com.tc.async.api.EventContext;
8 import com.tc.net.protocol.tcm.ChannelID;
9 import com.tc.net.protocol.tcm.MessageChannel;
10 import com.tc.net.protocol.tcm.TCMessageType;
11 import com.tc.object.msg.RequestManagedObjectMessage;
12
13 import java.util.Set JavaDoc;
14
15 public class TestRequestManagedObjectMessage implements RequestManagedObjectMessage, EventContext {
16
17   private ObjectRequestID requestID;
18   private Set JavaDoc removed;
19   private ChannelID channelID;
20   private MessageChannel channel;
21   private Set JavaDoc objectIDs;
22
23   public TestRequestManagedObjectMessage() {
24     super();
25   }
26
27   public ObjectRequestID getRequestID() {
28     return this.requestID;
29   }
30
31   public Set JavaDoc getObjectIDs() {
32     return this.objectIDs;
33   }
34
35   public void setObjectIDs(Set JavaDoc IDs) {
36     this.objectIDs = IDs;
37   }
38
39   public Set JavaDoc getRemoved() {
40     return this.removed;
41   }
42
43   public void setRemoved(Set JavaDoc rm) {
44     this.removed = rm;
45   }
46
47   public void initialize(ObjectRequestContext ctxt, Set JavaDoc oids, Set JavaDoc removedIDs) {
48     //
49
}
50
51   public int getCorrelationId(boolean initialize) {
52     return 0;
53   }
54
55   public void setCorrelationId(int id) {
56     //
57
}
58
59   public TCMessageType getMessageType() {
60     return null;
61   }
62
63   public void hydrate() {
64     //
65
}
66
67   public void dehydrate() {
68     //
69
}
70
71   public void send() {
72     //
73
}
74
75   public MessageChannel getChannel() {
76     return this.channel;
77   }
78
79   public ChannelID getChannelID() {
80     return this.channelID;
81   }
82
83   public int getTotalLength() {
84     return 0;
85   }
86
87   public int getRequestDepth() {
88     return 400;
89   }
90
91   public void recycle() {
92     return;
93   }
94 }
95
Popular Tags