|
||||||||||
| 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.LeaseMessage
public final class LeaseMessage
Lease message. Is exchanged when a channel is established. Leases are the implementations of the statements of supply and demand.
| Field Summary |
|---|
| Fields inherited from class ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage |
|---|
DELIVER_BUNDLE, DELIVER_BUNDLES, DELIVER_SERVICE, LEASE, LEASE_UPDATE, REMOTE_CALL, REMOTE_CALL_RESULT, REMOTE_EVENT, REQUEST_BUNDLE, REQUEST_DEPENDENCIES, REQUEST_SERVICE, STREAM_REQUEST, STREAM_RESULT, TIME_OFFSET, xid |
| Constructor Summary | |
|---|---|
LeaseMessage()
create a new lease message. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getServiceIDs()
get the service IDs. |
java.lang.String[][] |
getServiceInterfaces()
get the service interfaces. |
java.util.Dictionary[] |
getServiceProperties()
get the service properties. |
java.lang.String[] |
getTopics()
get the topics. |
void |
setServiceIDs(java.lang.String[] serviceIDs)
set the service IDs. |
void |
setServiceInterfaces(java.lang.String[][] serviceInterfaces)
set the service interfaces. |
void |
setServiceProperties(java.util.Dictionary[] serviceProperties)
set the service properties. |
void |
setTopics(java.lang.String[] topics)
set the topics. |
java.lang.String |
toString()
String representation for debug outputs. |
void |
writeBody(java.io.ObjectOutputStream out)
write the bytes of the message. |
| 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 |
| Constructor Detail |
|---|
public LeaseMessage()
| Method Detail |
|---|
public java.lang.String[][] getServiceInterfaces()
public void setServiceInterfaces(java.lang.String[][] serviceInterfaces)
serviceInterfaces - the service interfaces.public java.lang.String[] getServiceIDs()
public void setServiceIDs(java.lang.String[] serviceIDs)
serviceIDs - the service IDs.public java.util.Dictionary[] getServiceProperties()
public void setServiceProperties(java.util.Dictionary[] serviceProperties)
serviceProperties - the service properties.public java.lang.String[] getTopics()
public void setTopics(java.lang.String[] topics)
topics - the topics.
public void writeBody(java.io.ObjectOutputStream out)
throws java.io.IOException
writeBody in class RemoteOSGiMessageout - the output stream
java.io.IOException - in case of IO errors.ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage#getBody()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||