Uses of Class
com.sun.sgs.impl.sharedutil.MessageBuffer

Packages that use MessageBuffer
com.sun.sgs.impl.protocol.simple Provides an implementation of the protocol layer APIs using the SimpleSgsProtocol
com.sun.sgs.impl.sharedutil Provides common utility classes. 
 

Uses of MessageBuffer in com.sun.sgs.impl.protocol.simple
 

Methods in com.sun.sgs.impl.protocol.simple with parameters of type MessageBuffer
protected  void SimpleSgsProtocolImpl.handleMessageReceived(byte opcode, MessageBuffer msg)
          Processes the received message.
protected  void SimpleSgsRelocationProtocolImpl.handleMessageReceived(byte opcode, MessageBuffer msg)
          Handles v5 protocol messages (relocate and suspend), and delegates to the super class to handle the v4 protocol messages.
 

Uses of MessageBuffer in com.sun.sgs.impl.sharedutil
 

Methods in com.sun.sgs.impl.sharedutil that return MessageBuffer
 MessageBuffer MessageBuffer.putByte(int b)
          Puts the specified byte in this buffer's current position, and advances the buffer's position and limit by one.
 MessageBuffer MessageBuffer.putByteArray(byte[] bytes)
          Puts into this buffer a short representing the length of the specified byte array followed by the bytes from the specified byte array, starting at the buffer's current position.
 MessageBuffer MessageBuffer.putBytes(byte[] bytes)
          Puts the bytes from the specified byte array in this buffer, starting at the buffer's current position.
 MessageBuffer MessageBuffer.putChar(int v)
          Puts the specified char as a two-byte value (high byte first) starting in the buffer's current position, and advances the buffer's position and limit by two.
 MessageBuffer MessageBuffer.putInt(int v)
          Puts the specified int as four bytes (high byte first) starting in the buffer's current position, and advances the buffer's position and limit by 4.
 MessageBuffer MessageBuffer.putLong(long v)
          Puts the specified long as eight bytes (high byte first) starting in the buffer's current position, and advances the buffer's position and limit by 8.
 MessageBuffer MessageBuffer.putShort(int v)
          Puts the specified short as a two-byte value (high byte first) starting in the buffer's current position, and advances the buffer's position and limit by two.
 MessageBuffer MessageBuffer.putString(String str)
          Puts the specified string, encoded in modified UTF-8 format, in the buffer starting in the buffer's the current position, and advances the buffer's position and limit by the size of the encoded string.
 


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved