Logo Search packages:      
Sourcecode: dbus-java version File versions  Download package

void org::freedesktop::dbus::Message::append ( String  sig,
Object...  data 
) throws DBusException [inline]

Append a series of values to the message.

Parameters:
sig The signature(s) of the value(s).
data The value(s).

Definition at line 771 of file Message.java.

References appendone().

Referenced by Message(), and setSource().

   {
      if (Debug.debug) Debug.print(Debug.DEBUG, "Appending sig: "+sig+" data: "+Arrays.deepToString(data));
      byte[] sigb = sig.getBytes();
      int j = 0;
      for (int i = 0; i < sigb.length; i++) {
         if (Debug.debug) Debug.print(Debug.VERBOSE, "Appending item: "+i+" "+((char)sigb[i])+" "+j);
         i = appendone(sigb, i, data[j++]);
      }
   }


Generated by  Doxygen 1.6.0   Back to index