Class EventMessage
java.lang.Object
org.eclipse.ecf.remoteservice.eventadmin.EventMessage
- All Implemented Interfaces:
Serializable
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorDescriptionEventMessage
(String topic, Map properties) EventMessage
(org.osgi.service.event.Event event) EventMessage
(org.osgi.service.event.Event event, SerializationHandler serializationHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.osgi.service.event.Event
protected Map
createPropertiesFromEvent
(org.osgi.service.event.Event event) org.osgi.service.event.Event
getEvent()
protected Map
protected String
getTopic()
void
setSerializationHandler
(SerializationHandler serializationHandler) toString()
-
Constructor Details
-
EventMessage
- Throws:
NotSerializableException
-
EventMessage
public EventMessage(org.osgi.service.event.Event event, SerializationHandler serializationHandler) throws NotSerializableException - Parameters:
event
- eventserializationHandler
- serialization handler- Throws:
NotSerializableException
- if event can't be serialized- Since:
- 1.2
-
EventMessage
-
-
Method Details
-
createPropertiesFromEvent
protected Map createPropertiesFromEvent(org.osgi.service.event.Event event) throws NotSerializableException - Throws:
NotSerializableException
-
getTopic
-
getProperties
-
createLocalEvent
protected org.osgi.service.event.Event createLocalEvent() -
getEvent
public org.osgi.service.event.Event getEvent() -
toString
-
setSerializationHandler
- Parameters:
serializationHandler
- serialization handler- Since:
- 1.2
-