- getBooleanProperty(String, boolean) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a boolean property.
- getBuffer() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns the byte array that backs this buffer.
- getByte() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns the byte in this buffer's current position, and
advances the buffer's position by one.
- getByteArray() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a byte array encoded as a 2-byte length followed by the
bytes, starting at this buffer's current position, and advances
the buffer's position by the number of bytes obtained.
- getBytes(int) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a byte array containing the specified number of bytes,
starting at this buffer's current position, and advances the
buffer's position by the number of bytes obtained.
- getChar() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a char, composed of the next two bytes (high
byte first) in this buffer, and advances the buffer's position
by two.
- getClassInstanceProperty(String, Class<T>, Class<?>[], Object...) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns an instance of the class whose fully qualified class name is
specified by a property, and that has a constructor with the specified
parameters.
- getInt() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns an int value, composed of the next four bytes (high
byte first) in this buffer, and advances the buffer's position
by 4.
- getIntProperty(String, int) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of an int property.
- getIntProperty(String, int, int, int) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of an int property within a bound range of
values.
- getLogger() - Method in class com.sun.sgs.impl.sharedutil.LoggerWrapper
-
Returns the wrapped Logger.
- getLong() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a long value, composed of the next eight bytes (high
byte first) in this buffer, and advances the buffer's position
by 8.
- getLongProperty(String, long) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a long property.
- getLongProperty(String, long, long, long) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a long property within a bound range of
values.
- getProperties() - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the associated Properties.
- getProperty(String) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a property as a String, or
null if the property is not found.
- getProperty(String, String) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a property as a String, or the default
value if the property is not found.
- getRequiredIntProperty(String) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a required int property.
- getRequiredIntProperty(String, int, int) - Method in class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Returns the value of a required int property within a bound
range of values.
- getShort() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a short value, composed of the next two bytes (high
byte first) in this buffer, and advances the buffer's position
by two.
- getSize(String) - Static method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns the size of the specified string, encoded in modified
UTF-8 format.
- getString() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns a string that has been encoded in modified UTF-8
format, starting at the buffer's current position, and advances
the buffer's position by the length of the encoded string.
- getUnsignedShort() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns an unsigned short value (as an int), composed of the
next two bytes (high byte first) in this buffer, and advances
the buffer's position by two.
- position() - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Returns the position of this buffer.
- PRINT_STACK_PROPERTY - Static variable in class com.sun.sgs.impl.sharedutil.logging.LogFormatter
-
The logging property for specifying whether to print stack traces when
logging a thrown exception.
- PropertiesWrapper - Class in com.sun.sgs.impl.sharedutil
-
Wrapper around a
Properties that provides convenience methods for
accessing primitives.
- PropertiesWrapper(Properties) - Constructor for class com.sun.sgs.impl.sharedutil.PropertiesWrapper
-
Creates an instance that delegates to the given Properties.
- putByte(int) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Puts the specified byte in this buffer's current position,
and advances the buffer's position and limit by one.
- putByteArray(byte[]) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.
- putBytes(byte[]) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
Puts the bytes from the specified byte array in this buffer,
starting at the buffer's current position.
- putChar(int) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.
- putInt(int) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.
- putLong(long) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.
- putShort(int) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.
- putString(String) - Method in class com.sun.sgs.impl.sharedutil.MessageBuffer
-
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.