Skip navigation.
Downloads | Product Documentation | Support

# JmsStreamMessage.h

Go to the documentation of this file.

    00001
    00009 #ifndef _JMS_STREAM_MESSAGE_H
    00010 #define _JMS_STREAM_MESSAGE_H 1
    00011
    00012 #include <JmsCommon.h>
    00013 #include <JmsSession.h>
    00014 #include <JmsMessage.h>
    00015 #include <JmsTypes.h>
    00016
    00020 typedef JmsMessage JmsStreamMessage;
    00021
    00022 #ifdef __cplusplus
    00023 extern "C" {
    00024 #endif
    00025
    00039 extern int JMSENTRY JmsSessionStreamMessageCreate(
    00040   JmsSession             *  session,
    00041   JmsStreamMessage ** message,
    00042   JMS64I              flags
    00043 );
    00044
    00058 extern int JMSENTRY JmsStreamMessageReadBoolean(
    00059   JmsStreamMessage  * message,
    00060   int               * value,
    00061   JMS64I              flags
    00062 );
    00063
    00077 extern int JMSENTRY JmsStreamMessageReadByte(
    00078   JmsStreamMessage  * message,
    00079   unsigned char              * value,
    00080   JMS64I              flags
    00081 );
    00082
    00096 extern int JMSENTRY JmsStreamMessageReadShort(
    00097   JmsStreamMessage  * message,
    00098   short             * value,
    00099   JMS64I              flags
    00100 );
    00101
    00115 extern int JMSENTRY JmsStreamMessageReadChar(
    00116   JmsStreamMessage  * message,
    00117   short              * value,
    00118   JMS64I              flags
    00119 );
    00120
    00134 extern int JMSENTRY JmsStreamMessageReadInt(
    00135   JmsStreamMessage  * message,
    00136   JMS32I            * value,
    00137   JMS64I              flags
    00138 );
    00139
    00153 extern int JMSENTRY JmsStreamMessageReadLong(
    00154   JmsStreamMessage  * message,
    00155   JMS64I            * value,
    00156   JMS64I              flags
    00157 );
    00158
    00172 extern int JMSENTRY JmsStreamMessageReadFloat(
    00173   JmsStreamMessage  * message,
    00174   float             * value,
    00175   JMS64I              flags
    00176 );
    00177
    00191 extern int JMSENTRY JmsStreamMessageReadDouble(
    00192   JmsStreamMessage  * message,
    00193   double            * value,
    00194   JMS64I              flags
    00195 );
    00196
    00211 extern int JMSENTRY JmsStreamMessageReadString(
    00212   JmsStreamMessage   * message,
    00213   JmsString           * value,
    00214   JMS64I              flags
    00215 );
    00216
    00233 extern int JMSENTRY JmsStreamMessageReadBytes(
    00234   JmsStreamMessage   * message,
    00235   void               * bytes,
    00236   JMS32I             * length,
    00237   JMS64I              flags
    00238 );
    00239
    00252 extern int JMSENTRY JmsStreamMessageWriteBoolean(
    00253   JmsStreamMessage   * message,
    00254   int                  value,
    00255   JMS64I              flags
    00256 );
    00257
    00270 extern int JMSENTRY JmsStreamMessageWriteByte(
    00271   JmsStreamMessage   * message,
    00272   unsigned char                 value,
    00273   JMS64I              flags
    00274 );
    00275
    00288 extern int JMSENTRY JmsStreamMessageWriteShort(
    00289   JmsStreamMessage   * message,
    00290   short                value,
    00291   JMS64I              flags
    00292 );
    00293
    00306 extern int JMSENTRY JmsStreamMessageWriteChar(
    00307   JmsStreamMessage   * message,
    00308   short                 value,
    00309   JMS64I              flags
    00310 );
    00311
    00324 extern int JMSENTRY JmsStreamMessageWriteInt(
    00325   JmsStreamMessage   * message,
    00326   JMS32I               value,
    00327   JMS64I              flags
    00328 );
    00329
    00342 extern int JMSENTRY JmsStreamMessageWriteLong(
    00343   JmsStreamMessage   * message,
    00344   JMS64I               value,
    00345   JMS64I              flags
    00346 );
    00347
    00360 extern int JMSENTRY JmsStreamMessageWriteFloat(
    00361   JmsStreamMessage   * message,
    00362   float                value,
    00363   JMS64I              flags
    00364 );
    00365
    00378 extern int JMSENTRY JmsStreamMessageWriteDouble(
    00379   JmsStreamMessage   * message,
    00380   double               value,
    00381   JMS64I              flags
    00382 );
    00383
    00396 extern int JMSENTRY JmsStreamMessageWriteString(
    00397   JmsStreamMessage   * message,
    00398   JmsString          * value,
    00399   JMS64I              flags
    00400 );
    00401
    00415 extern int JMSENTRY JmsStreamMessageWriteBytes(
    00416   JmsStreamMessage   * message,
    00417   void               * value,
    00418   JMS32I               length,
    00419   JMS64I              flags
    00420 );
    00421
    00434 extern int JMSENTRY JmsStreamMessageReset(
    00435   JmsStreamMessage   * message,
    00436   JMS64I              flags
    00437 );
    00438
    00439 #ifdef __cplusplus
    00440 }
    00441 #endif /* __cplusplus */
    00442 #endif /* _JMS_STREAM_MESSAGE_H */
    00443

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.