|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.ethz.iks.r_osgi.messages.RemoteOSGiMessage
ch.ethz.iks.r_osgi.messages.RemoteEventMessage
public final class RemoteEventMessage
RemoteEventMessage transfers RemoteEvents via multicast to all listening peers.
| Field Summary | |
|---|---|
static String |
EVENT_SENDER_URI
the event property contains the sender's uri. |
| Fields inherited from class ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage |
|---|
DELIVER_BUNDLE, DELIVER_SERVICE, FETCH_SERVICE, INVOKE_METHOD, LEASE, LEASE_UPDATE, METHOD_RESULT, REMOTE_EVENT, STREAM_REQUEST, STREAM_RESULT, TIME_OFFSET, xid |
| Constructor Summary | |
|---|---|
RemoteEventMessage()
creates a new RemoteEventMessage from RemoteEvent. |
|
| Method Summary | |
|---|---|
Dictionary |
getProperties()
get the properties. |
String |
getTopic()
get the topic. |
void |
setProperties(Dictionary properties)
set the properties. |
void |
setTopic(String topic)
set the topic. |
String |
toString()
String representation for debug outputs. |
void |
writeBody(ObjectOutputStream out)
write the body of the message to a stream. |
| Methods inherited from class ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage |
|---|
getFuncID, getXID, parse, readBytes, readStringArray, send, setXID, writeBytes, writeStringArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String EVENT_SENDER_URI
| Constructor Detail |
|---|
public RemoteEventMessage()
| Method Detail |
|---|
public String getTopic()
public void setTopic(String topic)
topic - public Dictionary getProperties()
public void setProperties(Dictionary properties)
properties - the properties.
public void writeBody(ObjectOutputStream out)
throws IOException
writeBody in class RemoteOSGiMessageout - the ObjectOutputStream.
IOException - in case of IO failures.public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||