1 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 ; 14 15 public class TestRequestManagedObjectMessage implements RequestManagedObjectMessage, EventContext { 16 17 private ObjectRequestID requestID; 18 private Set removed; 19 private ChannelID channelID; 20 private MessageChannel channel; 21 private Set objectIDs; 22 23 public TestRequestManagedObjectMessage() { 24 super(); 25 } 26 27 public ObjectRequestID getRequestID() { 28 return this.requestID; 29 } 30 31 public Set getObjectIDs() { 32 return this.objectIDs; 33 } 34 35 public void setObjectIDs(Set IDs) { 36 this.objectIDs = IDs; 37 } 38 39 public Set getRemoved() { 40 return this.removed; 41 } 42 43 public void setRemoved(Set rm) { 44 this.removed = rm; 45 } 46 47 public void initialize(ObjectRequestContext ctxt, Set oids, Set removedIDs) { 48 } 50 51 public int getCorrelationId(boolean initialize) { 52 return 0; 53 } 54 55 public void setCorrelationId(int id) { 56 } 58 59 public TCMessageType getMessageType() { 60 return null; 61 } 62 63 public void hydrate() { 64 } 66 67 public void dehydrate() { 68 } 70 71 public void send() { 72 } 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 |