1 23 24 25 package javax.jms; 26 27 import java.io.InputStream ; 28 import java.io.OutputStream ; 29 30 87 88 public interface BytesMessage extends Message { 89 90 103 104 long getBodyLength() throws JMSException ; 105 106 117 118 119 boolean 120 readBoolean() throws JMSException ; 121 122 123 135 136 byte 137 readByte() throws JMSException ; 138 139 140 152 153 int 154 readUnsignedByte() throws JMSException ; 155 156 157 169 170 short 171 readShort() throws JMSException ; 172 173 174 186 187 int 188 readUnsignedShort() throws JMSException ; 189 190 191 203 204 char 205 readChar() throws JMSException ; 206 207 208 220 221 int 222 readInt() throws JMSException ; 223 224 225 237 238 long 239 readLong() throws JMSException ; 240 241 242 254 255 float 256 readFloat() throws JMSException ; 257 258 259 271 272 double 273 readDouble() throws JMSException ; 274 275 276 293 294 String 295 readUTF() throws JMSException ; 296 297 298 321 322 int 323 readBytes(byte[] value) throws JMSException ; 324 325 326 356 357 int 358 readBytes(byte[] value, int length) 359 throws JMSException ; 360 361 362 375 376 void 377 writeBoolean(boolean value) 378 throws JMSException ; 379 380 381 391 392 void 393 writeByte(byte value) throws JMSException ; 394 395 396 406 407 void 408 writeShort(short value) throws JMSException ; 409 410 411 421 422 void 423 writeChar(char value) throws JMSException ; 424 425 426 436 437 void 438 writeInt(int value) throws JMSException ; 439 440 441 451 452 void 453 writeLong(long value) throws JMSException ; 454 455 456 469 470 void 471 writeFloat(float value) throws JMSException ; 472 473 474 487 488 void 489 writeDouble(double value) throws JMSException ; 490 491 492 507 508 void 509 writeUTF(String value) throws JMSException ; 510 511 512 521 522 void 523 writeBytes(byte[] value) throws JMSException ; 524 525 526 537 538 void 539 writeBytes(byte[] value, int offset, int length) 540 throws JMSException ; 541 542 543 561 562 void 563 writeObject(Object value) throws JMSException ; 564 565 566 574 575 void 576 reset() throws JMSException ; 577 } 578 | Popular Tags |