Package org.omg.CosNotification

Examples of org.omg.CosNotification.StructuredEvent


                }
                _update = (WhiteboardUpdate)queue_.get(0);
                queue_.remove(0);
            }

            StructuredEvent _event = getEvent();
            if (_update.discriminator() == UpdateType.clear) {
                _event.header.fixed_header.event_type.type_name = "CLEAR";
            } else if (_update.discriminator() == UpdateType.line) {
                _event.header.fixed_header.event_type.type_name = "LINE";
            }
View Full Code Here


        }
    }

    StructuredEvent getEvent() {
        if (event_ == null) {
            event_ = new StructuredEvent();
            event_.header = new EventHeader();
            event_.header.fixed_header = new FixedEventHeader();
            event_.header.fixed_header.event_type = new EventType();
            event_.header.fixed_header.event_type.domain_name = EVENT_DOMAIN;
View Full Code Here

  active_ = false;
  interrupt();
    }

    public void run() {
  StructuredEvent _event = new StructuredEvent();
  _event.header = new EventHeader();
  _event.header.fixed_header = new FixedEventHeader();
  _event.header.fixed_header.event_type = new EventType();
  _event.header.fixed_header.event_type.domain_name = EVENT_DOMAIN;
  _event.header.fixed_header.event_type.type_name = "UPDATE";
View Full Code Here

                }
                _update = (WhiteboardUpdate)queue_.get(0);
                queue_.remove(0);
            }

            StructuredEvent _event = getEvent();
            if (_update.discriminator() == UpdateType.clear) {
                _event.header.fixed_header.event_type.type_name = "CLEAR";
            } else if (_update.discriminator() == UpdateType.line) {
                _event.header.fixed_header.event_type.type_name = "LINE";
            }
View Full Code Here

        }
    }

    StructuredEvent getEvent() {
        if (event_ == null) {
            event_ = new StructuredEvent();
            event_.header = new EventHeader();
            event_.header.fixed_header = new FixedEventHeader();
            event_.header.fixed_header.event_type = new EventType();
            event_.header.fixed_header.event_type.domain_name = EVENT_DOMAIN;
View Full Code Here

  active_ = false;
  interrupt();
    }

    public void run() {
  StructuredEvent _event = new StructuredEvent();
  _event.header = new EventHeader();
  _event.header.fixed_header = new FixedEventHeader();
  _event.header.fixed_header.event_type = new EventType();
  _event.header.fixed_header.event_type.domain_name = EVENT_DOMAIN;
  _event.header.fixed_header.event_type.type_name = "UPDATE";
View Full Code Here

    public MessageSupplierDelegate.PullResult pullMessages() throws Disconnected
    {
        BooleanHolder _hasEvent = new BooleanHolder();
        _hasEvent.value = false;
        StructuredEvent _event = pullSupplier_.try_pull_structured_event(_hasEvent);

        return new MessageSupplierDelegate.PullResult(_event, _hasEvent.value);
    }
View Full Code Here

    public StructuredEvent[] pull_structured_events(int number) throws Disconnected
    {
        checkStillConnected();

        StructuredEvent _structuredEvents[] = UNDEFINED_SEQUENCE;

        Message[] _messages = getUpToMessages(number);

        if (_messages != null && _messages.length > 0)
        {
View Full Code Here

    public void testPushStructured() throws Exception
    {
        // setup test data
        StructuredEventMessage _event = new StructuredEventMessage(getORB());

        StructuredEvent _data = getTestUtils().getEmptyStructuredEvent();

        _data.filterable_data = new Property[] {
                new Property("operation", toAny(DRINKING_COFFEE_ID)),
                new Property("name", toAny("alphonse")), new Property("minutes", toAny(10)) };
View Full Code Here

            for (int x = 0; x < batchSize; ++x)
            {
                Any any = getORB().create_any();
                any.insert_long(x);

                StructuredEvent event = new StructuredEvent();
                event.filterable_data = new Property[] { new Property("number", any) };
                event.header = new EventHeader();
                event.header.fixed_header = new FixedEventHeader();
                event.header.variable_header = new Property[0];
                event.header.fixed_header.event_name = "event_name";
View Full Code Here

TOP

Related Classes of org.omg.CosNotification.StructuredEvent

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.