Package org.omg.CORBA

Examples of org.omg.CORBA.IntHolder


        {
            if (factory_ != null)
            {
                EventChannelFactoryImpl factory = (EventChannelFactoryImpl) factory_;

                IntHolder id = new IntHolder();

                factory.create_channel(new Property[0], new Property[0], id);

                return "Created Channel id=" + id.value;
            }
View Full Code Here


    private void startChannels(int channels) throws UnsupportedQoS, UnsupportedAdmin
    {
        for (int i = 0; i < channels; i++)
        {
            IntHolder ih = new IntHolder();
            create_abstract_channel(new Property[0], new Property[0], ih);
        }
    }
View Full Code Here

            if (board == null) {
                synchronized(boards) {
                    board = (WhiteBoard)boards.get(name);
                    if (board == null) {
                        System.out.println("Create board "+name);
                        IntHolder _channelId = new IntHolder();
                        EventChannel _channel =
                            channelFactory_.create_channel(new Property[0], new Property[0], _channelId);

                        IntHolder _adminId = new IntHolder();

                        board = new WhiteBoard(orb_, _channel);
                        boards.put(name,board);
                    }
                }
View Full Code Here

  workgroups_.put(_id, group);

  IRegistrationInfo _registrationInfo = new IRegistrationInfo();
  _registrationInfo.workgroup_identifier = _id.intValue();

  IntHolder
      _supplierAdminId = new IntHolder(),
      _consumerAdminId = new IntHolder();

  Filter _filter = null;
  try {
      _filter = filterFactory_.create_filter("EXTENDED_TCL");
View Full Code Here

        IRegistrationInfo _info =
            whiteboard_.join(_this(orb_));

        myId = _info.workgroup_identifier;

        IntHolder imageListenerId_ = new IntHolder();

        try {
            StructuredProxyPushConsumer _consumer =
                StructuredProxyPushConsumerHelper.narrow(_info.supplier_admin.obtain_notification_push_consumer(ClientType.STRUCTURED_EVENT,imageListenerId_));
View Full Code Here

    }

    public void connect(EventChannel channel, boolean useOrSemantic)
        throws AdminLimitExceeded, TypeError, AlreadyConnected, AdminNotFound
    {
        IntHolder _proxyId = new IntHolder();
        IntHolder _adminId = new IntHolder();

        if (useOrSemantic)
        {
            myAdmin_ = channel.new_for_consumers(InterFilterGroupOperator.OR_OP, _adminId);
            Assert.assertEquals(InterFilterGroupOperator.OR_OP, myAdmin_.MyOperator());
View Full Code Here

        // prepare test data
        testPerson_ = testUtils_.getTestPersonAny();

        // setup a channel
        channelId_ = new IntHolder();

        channel_ = factory_.create_channel(new Property[0], new Property[0], channelId_);

        filterFactory_ = channel_.default_filter_factory();
View Full Code Here

    }

    public void testDestroyChannelDisconnectsClients() throws Exception
    {
        Property[] _p = new Property[0];
        IntHolder _channelId = new IntHolder();

        EventChannel _channel = getEventChannelFactory().create_channel(_p, _p, _channelId);

        SequencePushSender _pushSender = new SequencePushSender(getClientORB(), testEvent_);
        SequencePullSender _pullSender = new SequencePullSender(getClientORB(), testEvent_);
View Full Code Here

    {
        StructuredPushConsumerPOATie receiverTie = new StructuredPushConsumerPOATie(this);

        ConsumerAdmin _consumerAdmin = channel.default_consumer_admin();

        IntHolder _proxyIdHolder = new IntHolder();
        pushSupplier_ = StructuredProxyPushSupplierHelper.narrow(_consumerAdmin
                .obtain_notification_push_supplier(ClientType.STRUCTURED_EVENT, _proxyIdHolder));

        Assert.assertNotNull(pushSupplier_);
        Assert.assertNotNull(pushSupplier_.MyType());
View Full Code Here

        ORB orb = getORB();

        factory = EventChannelFactoryHelper.narrow(orb
                .resolve_initial_references("NotificationService"));

        intHolder = new IntHolder();

        channel = factory.create_channel(new Property[0], new Property[0], intHolder);
    }
View Full Code Here

TOP

Related Classes of org.omg.CORBA.IntHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.