org.omg.CosNotification
Class EventHeader

java.lang.Object
  extended by org.omg.CosNotification.EventHeader
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public final class EventHeader
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Each event is comprised of two main components: a header and a body. The header can be further decomposed into a fixed portion and a variable portion. The goal of this decomposition is to minimize the size of the header which is required in every Structured Event message, thus enabling lightweight messages where the overhead of supplying additional header fields is viewed as less desirable than any functional benefit achieved by supplying these fields (e.g., additional header fields may contain QoS requirements for the message).

See Also:
FixedEventHeader, Serialized Form

Field Summary
 FixedEventHeader fixed_header
          Struct member fixed_header
 Property[] variable_header
          Struct member variable_header
 
Constructor Summary
EventHeader()
          Default constructor
EventHeader(FixedEventHeader fixed_header, Property[] variable_header)
          Constructor with fields initialization
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fixed_header

public FixedEventHeader fixed_header
Struct member fixed_header


variable_header

public Property[] variable_header
Struct member variable_header

Constructor Detail

EventHeader

public EventHeader()
Default constructor


EventHeader

public EventHeader(FixedEventHeader fixed_header,
                   Property[] variable_header)
Constructor with fields initialization

Parameters:
fixed_header - fixed_header struct member
variable_header - variable_header struct member