1 23 24 25 package javax.jms; 26 27 103 104 public interface StreamMessage extends Message { 105 106 107 119 120 boolean 121 readBoolean() throws JMSException ; 122 123 124 137 138 byte 139 readByte() throws JMSException ; 140 141 142 154 155 short 156 readShort() throws JMSException ; 157 158 159 171 172 char 173 readChar() throws JMSException ; 174 175 176 189 190 int 191 readInt() throws JMSException ; 192 193 194 207 208 long 209 readLong() throws JMSException ; 210 211 212 224 225 float 226 readFloat() throws JMSException ; 227 228 229 241 242 double 243 readDouble() throws JMSException ; 244 245 246 258 259 String 260 readString() throws JMSException ; 261 262 263 307 308 int 309 readBytes(byte[] value) throws JMSException ; 310 311 312 342 343 Object 344 readObject() throws JMSException ; 345 346 347 348 360 361 void 362 writeBoolean(boolean value) 363 throws JMSException ; 364 365 366 375 376 void 377 writeByte(byte value) throws JMSException ; 378 379 380 389 390 void 391 writeShort(short value) throws JMSException ; 392 393 394 403 404 void 405 writeChar(char value) throws JMSException ; 406 407 408 417 418 void 419 writeInt(int value) throws JMSException ; 420 421 422 431 432 void 433 writeLong(long value) throws JMSException ; 434 435 436 445 446 void 447 writeFloat(float value) throws JMSException ; 448 449 450 459 460 void 461 writeDouble(double value) throws JMSException ; 462 463 464 473 474 void 475 writeString(String value) throws JMSException ; 476 477 478 491 492 void 493 writeBytes(byte[] value) throws JMSException ; 494 495 496 513 514 void 515 writeBytes(byte[] value, int offset, int length) 516 throws JMSException ; 517 518 519 534 535 void 536 writeObject(Object value) throws JMSException ; 537 538 539 547 548 void 549 reset() throws JMSException ; 550 } 551 | Popular Tags |