|
||||||||||
| 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.RemoteCallMessage
public final class RemoteCallMessage
InvokeMethodMessage is used to invoke a method of a remote service.
| 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 | |
|---|---|
RemoteCallMessage()
creates a new InvokeMethodMessage. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getArgs()
get the arguments for the invoked method. |
java.lang.String |
getMethodSignature()
get the method signature. |
java.lang.String |
getServiceID()
get the service ID. |
void |
setArgs(java.lang.Object[] arguments)
set the arguments. |
void |
setMethodSignature(java.lang.String methodSignature)
set the method signature. |
void |
setServiceID(java.lang.String serviceID)
set the service ID. |
java.lang.String |
toString()
String representation for debug outputs. |
void |
writeBody(java.io.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 |
| Constructor Detail |
|---|
public RemoteCallMessage()
| Method Detail |
|---|
public void writeBody(java.io.ObjectOutputStream out)
throws java.io.IOException
writeBody in class RemoteOSGiMessageout - the ObjectOutputStream.
java.io.IOException - in case of IO failures.ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage#getBody()public java.lang.String getServiceID()
public void setServiceID(java.lang.String serviceID)
serviceID - the service ID.public java.lang.Object[] getArgs()
public void setArgs(java.lang.Object[] arguments)
arguments - the arguments.public java.lang.String getMethodSignature()
public void setMethodSignature(java.lang.String methodSignature)
methodSignature - the method signature.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 | |||||||||