Skip navigation.
Downloads | Product Documentation | Support

# JmsMapMessage.h

Go to the documentation of this file.

    00001
    00008 #ifndef _JMS_MAP_MESSAGE_H
    00009 #define _JMS_MAP_MESSAGE_H 1
    00010
    00011 #include <JmsCommon.h>
    00012 #include <JmsSession.h>
    00013 #include <JmsMessage.h>
    00014 #include <JmsEnumeration.h>
    00015 #include <JmsTypes.h>
    00016
    00020 typedef JmsMessage JmsMapMessage;
    00021
    00022 #ifdef __cplusplus
    00023 extern "C" {
    00024 #endif /* __cplusplus */
    00025
    00039 extern int JMSENTRY JmsSessionMapMessageCreate(
    00040   JmsSession        *  session,
    00041   JmsMapMessage ** message,
    00042   JMS64I              flags
    00043 );
    00044
    00059 extern int JMSENTRY JmsMapMessageGetBoolean(
    00060   JmsMapMessage   * message,
    00061   JmsString       * name,
    00062   int             * value,
    00063   JMS64I              flags
    00064 );
    00065
    00080 extern int JMSENTRY JmsMapMessageGetByte(
    00081   JmsMapMessage   * message,
    00082   JmsString       * name,
    00083   unsigned char            * value,
    00084   JMS64I              flags
    00085 );
    00086
    00102 extern int JMSENTRY JmsMapMessageGetChar(
    00103   JmsMapMessage   * message,
    00104   JmsString       * name,
    00105   short            * value,
    00106   JMS64I              flags
    00107 );
    00108
    00123 extern int JMSENTRY JmsMapMessageGetShort(
    00124   JmsMapMessage   * message,
    00125   JmsString       * name,
    00126   short           * value,
    00127   JMS64I              flags
    00128 );
    00129
    00144 extern int JMSENTRY JmsMapMessageGetInt(
    00145   JmsMapMessage   * message,
    00146   JmsString       * name,
    00147   JMS32I          * value,
    00148   JMS64I              flags
    00149 );
    00150
    00165 extern int JMSENTRY JmsMapMessageGetLong(
    00166   JmsMapMessage   * message,
    00167   JmsString       * name,
    00168   JMS64I          * value,
    00169   JMS64I              flags
    00170 );
    00171
    00186 extern int JMSENTRY JmsMapMessageGetFloat(
    00187   JmsMapMessage   * message,
    00188   JmsString            * name,
    00189   float           * value,
    00190   JMS64I              flags
    00191 );
    00192
    00207 extern int JMSENTRY JmsMapMessageGetDouble(
    00208   JmsMapMessage   * message,
    00209   JmsString       * name,
    00210   double          * value,
    00211   JMS64I              flags
    00212 );
    00213
    00229 extern int JMSENTRY JmsMapMessageGetString(
    00230   JmsMapMessage   * message,
    00231   JmsString       * name,
    00232   JmsString           * value,
    00233   JMS64I              flags
    00234 );
    00235
    00257 extern int JMSENTRY JmsMapMessageGetBytes(
    00258   JmsMapMessage   * message,
    00259   JmsString       * name,
    00260   void            * bytes,
    00261   JMS32I          * length,
    00262   JMS64I              flags
    00263 );
    00264
    00281 extern int JMSENTRY JmsMapMessageGetNames(
    00282   JmsMapMessage   * message,
    00283   JmsEnumeration ** enumeration,
    00284   JMS64I              flags
    00285 );
    00286
    00300 extern int JMSENTRY JmsMapMessageSetBoolean(
    00301   JmsMapMessage   * message,
    00302   JmsString       * name,
    00303   int               value,
    00304   JMS64I              flags
    00305 );
    00306
    00320 extern int JMSENTRY JmsMapMessageSetByte(
    00321   JmsMapMessage   * message,
    00322   JmsString       * name,
    00323   unsigned char              value,
    00324   JMS64I              flags
    00325 );
    00326
    00340 extern int JMSENTRY JmsMapMessageSetShort(
    00341   JmsMapMessage   * message,
    00342   JmsString       * name,
    00343   short             value,
    00344   JMS64I              flags
    00345 );
    00346
    00362 extern int JMSENTRY JmsMapMessageSetChar(
    00363   JmsMapMessage   * message,
    00364   JmsString       * name,
    00365   short              value,
    00366   JMS64I              flags
    00367 );
    00368
    00382 extern int JMSENTRY JmsMapMessageSetInt(
    00383   JmsMapMessage   * message,
    00384   JmsString       * name,
    00385   JMS32I            value,
    00386   JMS64I              flags
    00387 );
    00388
    00402 extern int JMSENTRY JmsMapMessageSetLong(
    00403   JmsMapMessage   * message,
    00404   JmsString       * name,
    00405   JMS64I            value,
    00406   JMS64I              flags
    00407 );
    00408
    00422 extern int JMSENTRY JmsMapMessageSetFloat(
    00423   JmsMapMessage   * message,
    00424   JmsString       * name,
    00425   float             value,
    00426   JMS64I              flags
    00427 );
    00428
    00442 extern int JMSENTRY JmsMapMessageSetDouble(
    00443   JmsMapMessage   * message,
    00444   JmsString       * name,
    00445   double            value,
    00446   JMS64I              flags
    00447 );
    00448
    00462 extern int JMSENTRY JmsMapMessageSetString(
    00463   JmsMapMessage   * message,
    00464   JmsString       * name,
    00465   JmsString       * value,
    00466   JMS64I              flags
    00467 );
    00468
    00483 extern int JMSENTRY JmsMapMessageSetBytes(
    00484   JmsMapMessage   * message,
    00485   JmsString       * name,
    00486   void            * value,
    00487   JMS32I               length,
    00488   JMS64I              flags
    00489 );
    00490
    00506 extern int JMSENTRY JmsMapMessageItemExists(
    00507   JmsMapMessage   * message,
    00508   JmsString       * name,
    00509   int             * boolean,
    00510   JMS64I              flags
    00511 );
    00512
    00513 #ifdef __cplusplus
    00514 }
    00515 #endif /* __cplusplus */
    00516 #endif /* _JMS_MAP_MESSAGE_H */

Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.