ch.ethz.iks.r_osgi.messages
Class RequestDependenciesMessage

java.lang.Object
  extended by ch.ethz.iks.r_osgi.messages.RemoteOSGiMessage
      extended by ch.ethz.iks.r_osgi.messages.RequestDependenciesMessage

public class RequestDependenciesMessage
extends RemoteOSGiMessage

Request bundle dependencies.

Author:
Jan S. Rellermeyer

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
RequestDependenciesMessage()
          create a new message.
RequestDependenciesMessage(java.io.ObjectInputStream input)
          create a new message from the wire.
 
Method Summary
 java.lang.String[] getPackages()
          get the packages that have to be resolved.
 void setPackages(java.lang.String[] packages)
          set the packages that have to be resolved.
 java.lang.String toString()
          String representation for debug outputs.
 void writeBody(java.io.ObjectOutputStream output)
          write the body of the message to the wire.
 
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

RequestDependenciesMessage

public RequestDependenciesMessage()
create a new message.


RequestDependenciesMessage

public RequestDependenciesMessage(java.io.ObjectInputStream input)
                           throws java.io.IOException
create a new message from the wire.

Parameters:
input - the input stream.
Throws:
java.io.IOException - in case of IO problems.
Method Detail

writeBody

public void writeBody(java.io.ObjectOutputStream output)
               throws java.io.IOException
write the body of the message to the wire.

Specified by:
writeBody in class RemoteOSGiMessage
Parameters:
output - the output stream.
Throws:
java.io.IOException - in case of IO failures.

getPackages

public java.lang.String[] getPackages()
get the packages that have to be resolved.

Returns:
the packages.

setPackages

public void setPackages(java.lang.String[] packages)
set the packages that have to be resolved.

Parameters:
packages - the packages.

toString

public java.lang.String toString()
String representation for debug outputs.

Overrides:
toString in class java.lang.Object
Returns:
a string representation.
See Also:
Object.toString()


Copyright © 2009 IKS, ETH Zurich. All Rights Reserved.