1 7 8 package com.sun.corba.se.impl.protocol; 9 10 import java.util.Iterator ; 11 12 import com.sun.corba.se.spi.orb.ORB; 13 14 import com.sun.corba.se.pept.protocol.ClientInvocationInfo; 15 import com.sun.corba.se.pept.protocol.MessageMediator; 16 17 import com.sun.corba.se.pept.protocol.ClientRequestDispatcher; 18 19 22 public class CorbaInvocationInfo implements ClientInvocationInfo 23 { 24 26 private boolean isRetryInvocation; 27 private int entryCount; 28 private ORB orb; 29 private Iterator contactInfoListIterator; 30 private ClientRequestDispatcher clientRequestDispatcher; 31 private MessageMediator messageMediator; 32 33 private CorbaInvocationInfo() 34 { 35 } 36 37 public CorbaInvocationInfo(ORB orb) 38 { 39 this.orb = orb; 40 isRetryInvocation = false; 41 entryCount = 0; 42 } 43 44 public Iterator getContactInfoListIterator() 45 { 46 return contactInfoListIterator; 47 } 48 49 public void setContactInfoListIterator(Iterator contactInfoListIterator) 50 { 51 this.contactInfoListIterator = contactInfoListIterator; 52 } 53 54 public boolean isRetryInvocation() 55 { 56 return isRetryInvocation; 57 } 58 59 public void setIsRetryInvocation(boolean isRetryInvocation) 60 { 61 this.isRetryInvocation = isRetryInvocation; 62 } 63 64 public int getEntryCount() 65 { 66 return entryCount; 67 } 68 69 public void incrementEntryCount() 70 { 71 entryCount++; 72 } 73 74 public void decrementEntryCount() 75 { 76 entryCount--; 77 } 78 79 public void setClientRequestDispatcher(ClientRequestDispatcher clientRequestDispatcher) 80 { 81 this.clientRequestDispatcher = clientRequestDispatcher; 82 } 83 84 public ClientRequestDispatcher getClientRequestDispatcher() 85 { 86 return clientRequestDispatcher; 87 } 88 89 public void setMessageMediator(MessageMediator messageMediator) 90 { 91 this.messageMediator = messageMediator; 92 } 93 94 public MessageMediator getMessageMediator() 95 { 96 return messageMediator; 97 } 98 } 99 100 | Popular Tags |