1 26 27 package org.objectweb.openccm.Components; 28 29 37 38 public class PublishesInfo 39 extends PortInfo 40 { 41 47 50 private int limit_; 51 52 55 private org.objectweb.ccm.util.Table connections_; 56 57 63 66 public 67 PublishesInfo(java.lang.String rep_id, 68 java.lang.String name, 69 java.lang.String type_id) 70 { 71 this(rep_id, name, type_id, java.lang.Integer.MAX_VALUE); 72 } 73 74 77 public 78 PublishesInfo(java.lang.String rep_id, 79 java.lang.String name, 80 java.lang.String type_id, 81 int limit) 82 { 83 super(rep_id, name, type_id, PortInfo.pk_publishes); 84 limit_ = limit; 85 connections_ = new org.objectweb.ccm.util.Table(); 86 } 87 88 89 95 98 public int 99 limit() 100 { 101 return limit_; 102 } 103 104 107 public org.objectweb.ccm.util.Table 108 consumers() 109 { 110 return connections_; 111 } 112 } 113 | Popular Tags |