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

static String org::freedesktop::dbus::Message::getHeaderFieldName ( byte  field  )  [inline, static]

Returns the name of the given header field.

Definition at line 153 of file Message.java.

Referenced by toString().

   {
      switch (field) {
         case HeaderField.PATH: return "Path";
         case HeaderField.INTERFACE: return "Interface";
         case HeaderField.MEMBER: return "Member";
         case HeaderField.ERROR_NAME: return "Error Name";
         case HeaderField.REPLY_SERIAL: return "Reply Serial";
         case HeaderField.DESTINATION: return "Destination";
         case HeaderField.SENDER: return "Sender";
         case HeaderField.SIGNATURE: return "Signature";
         default: return "Invalid";
      }
   }


Generated by  Doxygen 1.6.0   Back to index