示例#1
0
  public void setUpTest() throws Exception {
    eventChannel_ = getDefaultChannel();

    structuredEvent_ = new StructuredEvent();
    EventHeader _header = new EventHeader();
    FixedEventHeader _fixed = new FixedEventHeader();
    _fixed.event_name = "eventname";
    _fixed.event_type = new EventType("domain", "type");
    _header.fixed_header = _fixed;
    _header.variable_header = new Property[0];

    structuredEvent_.header = _header;

    structuredEvent_.filterable_data = new Property[0];

    structuredEvent_.remainder_of_body = getClientORB().create_any();
  }
示例#2
0
  @Before
  public void setUp() throws Exception {
    messageFactory_ = new DefaultMessageFactory(getORB(), getConfiguration());
    addDisposable(messageFactory_);

    structuredEvent_ = new StructuredEvent();
    EventHeader _header = new EventHeader();
    FixedEventHeader _fixed = new FixedEventHeader();
    _fixed.event_name = "eventname";
    _fixed.event_type = new EventType("domain", "type");
    _header.fixed_header = _fixed;
    _header.variable_header = new Property[0];

    structuredEvent_.header = _header;

    structuredEvent_.filterable_data = new Property[0];

    structuredEvent_.remainder_of_body = getORB().create_any();
  }