1 4 package com.tc.object.msg; 5 6 import com.tc.net.protocol.tcm.ChannelID; 7 import com.tc.net.protocol.tcm.MessageChannel; 8 import com.tc.object.ObjectID; 9 import com.tc.object.lockmanager.api.LockContext; 10 import com.tc.object.lockmanager.api.WaitContext; 11 12 import java.util.Collection ; 13 import java.util.Set ; 14 15 public interface ClientHandshakeMessage { 16 17 public Collection getTransactionSequenceIDs(); 18 19 public void addObjectID(ObjectID object); 20 21 public Set getObjectIDs(); 22 23 public void addLockContext(LockContext ctxt); 24 25 public Collection getLockContexts(); 26 27 public void addWaitContext(WaitContext ctxt); 28 29 public Collection getWaitContexts(); 30 31 public void addPendingLockContext(LockContext ctxt); 32 33 public Collection getPendingLockContexts(); 34 35 public ChannelID getChannelID(); 36 37 public void send(); 38 39 public void setTransactionSequenceIDs(Collection transactionSequenceIDs); 40 41 public void setResentTransactionIDs(Collection resentTransactionIDs); 42 43 public Collection getResentTransactionIDs(); 44 45 public void setIsObjectIDsRequested(boolean request); 46 47 public boolean isObjectIDsRequested(); 48 49 public MessageChannel getChannel(); 50 51 } 52 | Popular Tags |