A B C D E F G H I L M N O P R S T U W 

A

addCloseHandler(WebSocket.CloseHandler) - Method in class com.kaazing.gateway.client.WebSocket
The onclose handler is called when the connection is terminated.
addErrorHandler(WebSocket.ErrorHandler) - Method in class com.kaazing.gateway.client.WebSocket
The onclose handler is called when an error occurs.
addMessageHandler(WebSocket.MessageHandler) - Method in class com.kaazing.gateway.client.WebSocket
The onmessage handler is called when data arrives.
addOpenHandler(WebSocket.OpenHandler) - Method in class com.kaazing.gateway.client.WebSocket
The onopen handler is called when the connection is established.
allocate(int) - Static method in class com.kaazing.gateway.client.ByteBuffer
Allocates a new ByteBuffer instance.

B

Base64Util - Class in com.kaazing.gateway.client
 
Base64Util() - Constructor for class com.kaazing.gateway.client.Base64Util
 
binaryType() - Method in class com.kaazing.gateway.client.WebSocket
message event data type for binary messages valid values are: "bytebuffer", "blob" and "arraybuffer"
binaryType(String) - Method in class com.kaazing.gateway.client.WebSocket
 
ByteBuffer - Class in com.kaazing.gateway.client
 
ByteBuffer() - Constructor for class com.kaazing.gateway.client.ByteBuffer
 
ByteOrder - Class in com.kaazing.gateway.client
 
ByteOrder() - Constructor for class com.kaazing.gateway.client.ByteOrder
 

C

Charset - Class in com.kaazing.gateway.client
 
Charset() - Constructor for class com.kaazing.gateway.client.Charset
 
clear() - Method in class com.kaazing.gateway.client.ByteBuffer
Clears the buffer.
close() - Method in class com.kaazing.gateway.client.WebSocket
Disconnects the remote socket location.
close(int, String) - Method in class com.kaazing.gateway.client.WebSocket
Disconnects the remote socket location with code and reason.
CLOSED - Static variable in class com.kaazing.gateway.client.WebSocket.ReadyState
 
CLOSING - Static variable in class com.kaazing.gateway.client.WebSocket.ReadyState
 
com.kaazing.gateway.client - package com.kaazing.gateway.client
 
compact() - Method in class com.kaazing.gateway.client.ByteBuffer
Compacts the buffer by removing leading bytes up to the buffer position, and decrements the limit and position values accordingly.
CONNECTING - Static variable in class com.kaazing.gateway.client.WebSocket.ReadyState
 
create() - Static method in class com.kaazing.gateway.client.ByteBuffer
Creates a new ByteBuffer instance.
create(JsArrayInteger[]) - Static method in class com.kaazing.gateway.client.ByteBuffer
Creates a new ByteBuffer instance with bytes as underlying array.
create(String, String) - Static method in class com.kaazing.gateway.client.Credentials
 
create() - Static method in class com.kaazing.gateway.client.WebSocketExtension
Creates a new WebSocketExtension instance.
create() - Static method in class com.kaazing.gateway.client.WebSocketFactory
Creates a new WebSocketFactory instance.
createWebSocket(String, String[]) - Method in class com.kaazing.gateway.client.WebSocketFactory
Creates a new WebSocket connection with url and protocol.
Credentials - Class in com.kaazing.gateway.client
 
Credentials() - Constructor for class com.kaazing.gateway.client.Credentials
 

D

decode(ByteBuffer) - Method in class com.kaazing.gateway.client.Charset
 
decode(byte[]) - Method in class com.kaazing.gateway.client.Charset
 
duplicate() - Method in class com.kaazing.gateway.client.ByteBuffer
Duplicates the buffer by reusing the underlying byte array but with independent position, limit and capacity.

E

encode(ByteBuffer) - Static method in class com.kaazing.gateway.client.Base64Util
 
encode(String, ByteBuffer) - Method in class com.kaazing.gateway.client.Charset
 
encode(String) - Method in class com.kaazing.gateway.client.Charset
 
encodeAsByteArray(String) - Method in class com.kaazing.gateway.client.Charset
 
event - Variable in class com.kaazing.gateway.client.WebSocket.CloseEvent
 
event - Variable in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
expand(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Expands the buffer to support the expected number of remaining bytes after the current position.
expandAt(int, int) - Method in class com.kaazing.gateway.client.ByteBuffer
Expands the buffer to support the expected number of remaining bytes at the specified index.

F

fill(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Fills the buffer with a repeated number of zeros.
fillWith(byte, int) - Method in class com.kaazing.gateway.client.ByteBuffer
Fills the buffer with a specific number of repeated bytes.
flip() - Method in class com.kaazing.gateway.client.ByteBuffer
Flips the buffer.

G

get() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a single byte from the buffer at the current position.
get(byte[], int, int) - Method in class com.kaazing.gateway.client.ByteBuffer
 
getArray() - Method in class com.kaazing.gateway.client.ByteBuffer
The array property provides byte storage for the buffer.
getArrayBuffer(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns an ArrayBuffer from the buffer at the current position.
getAt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a single byte from the buffer at the specified index.
getAutoExpand() - Method in class com.kaazing.gateway.client.ByteBuffer
The autoExpand property enables writing variable length data, and is on by default.
getBufferedAmount() - Method in class com.kaazing.gateway.client.WebSocket
The number of bytes queued to be sent
getBytes() - Method in class com.kaazing.gateway.client.ByteBuffer
 
getBytes(int) - Method in class com.kaazing.gateway.client.ByteBuffer
 
getCapacity() - Method in class com.kaazing.gateway.client.ByteBuffer
The capacity property indicates the maximum number of bytes of storage available if the buffer is not automatically expanding.
getCode() - Method in class com.kaazing.gateway.client.NativeCloseEvent
 
getCode() - Method in class com.kaazing.gateway.client.WebSocket.CloseEvent
 
getData() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getData() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getDataAsByteBuffer() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getDataAsByteBuffer() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getDataAsString() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getDataAsString() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getDataType() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getDataType() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getDefaultConnectTimeout() - Method in class com.kaazing.gateway.client.WebSocketFactory
Returns the default connection timeout in milliseconds.
getExtension(String) - Method in class com.kaazing.gateway.client.WebSocketFactory
get the WebSocketExtension with the extension name.
getHexDump() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a hex dump of this buffer.
getInt() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 4-byte number from the buffer at the current position.
getIntAt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 4-byte number from the buffer at the specified index.
getLastEventId() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getLastEventId() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getLong() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 4-byte number from the buffer at the current position.
getMediumInt() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 3-byte number from the buffer at the current position.
getMediumIntAt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 3-byte number from the buffer at the specified index.
getMessagePortArray() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getNativeEvent() - Method in class com.kaazing.gateway.client.WebSocket.CloseEvent
 
getNativeEvent() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getOrder() - Method in class com.kaazing.gateway.client.ByteBuffer
The order property indicates the endianness of multibyte integer types in the buffer.
getOrigin() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getOrigin() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getPorts() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getPrefixedString(int, Charset) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a length-prefixed string from the buffer at the current position.
getReadyState() - Method in class com.kaazing.gateway.client.WebSocket
The ready state indicates the connection status.
getReason() - Method in class com.kaazing.gateway.client.NativeCloseEvent
 
getReason() - Method in class com.kaazing.gateway.client.WebSocket.CloseEvent
 
getShort() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 2-byte number from the buffer at the current position.
getShortAt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a 2-byte number from the buffer at the specified index.
getSource() - Method in class com.kaazing.gateway.client.NativeMessageEvent
 
getSource() - Method in class com.kaazing.gateway.client.WebSocket.MessageEvent
 
getString(Charset) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a null-terminated string from the buffer at the current position.
getUnsigned() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns an unsigned single-byte number from the buffer at the current position.
getUnsignedInt() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns an unsigned 4-byte number from the buffer at the current position.
getUnsignedMediumInt() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns an unsigned 3-byte number from the buffer at the current position.
getUnsignedShort() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns an unsigned 2-byte number from the buffer at the current position.
getURL() - Method in class com.kaazing.gateway.client.WebSocket
The URL with which the WebSocket was constructed.
getUTF8() - Static method in class com.kaazing.gateway.client.Charset
 

H

handleClose(NativeCloseEvent) - Method in class com.kaazing.gateway.client.WebSocket
 
handleError() - Method in class com.kaazing.gateway.client.WebSocket
 
handleMessage(NativeMessageEvent) - Method in class com.kaazing.gateway.client.WebSocket
 
handleOpen() - Method in class com.kaazing.gateway.client.WebSocket
 
hasRemaining() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns true if this buffer has remaining bytes, false otherwise.

I

indexOf(byte) - Method in class com.kaazing.gateway.client.ByteBuffer
Returns the index of the specified byte in the buffer.

L

limit() - Method in class com.kaazing.gateway.client.ByteBuffer
The limit property indicates the last byte of data available for reading.
limit(int) - Method in class com.kaazing.gateway.client.ByteBuffer
 

M

mark() - Method in class com.kaazing.gateway.client.ByteBuffer
Marks a position in the buffer.
MessagePortArray - Class in com.kaazing.gateway.client
 
MessagePortArray() - Constructor for class com.kaazing.gateway.client.MessagePortArray
 

N

NativeCloseEvent - Class in com.kaazing.gateway.client
 
NativeCloseEvent() - Constructor for class com.kaazing.gateway.client.NativeCloseEvent
 
NativeMessageEvent - Class in com.kaazing.gateway.client
 
NativeMessageEvent() - Constructor for class com.kaazing.gateway.client.NativeMessageEvent
 

O

onClose(WebSocket.CloseEvent) - Method in interface com.kaazing.gateway.client.WebSocket.CloseHandler
 
onError(WebSocket.ErrorEvent) - Method in interface com.kaazing.gateway.client.WebSocket.ErrorHandler
 
onMessage(WebSocket.MessageEvent) - Method in interface com.kaazing.gateway.client.WebSocket.MessageHandler
 
onOpen(WebSocket.OpenEvent) - Method in interface com.kaazing.gateway.client.WebSocket.OpenHandler
 
OPEN - Static variable in class com.kaazing.gateway.client.WebSocket.ReadyState
 

P

position() - Method in class com.kaazing.gateway.client.ByteBuffer
The position property indicates the progress through the buffer, and indicates the position within the underlying array that subsequent data will be read from or written to.
position(int) - Method in class com.kaazing.gateway.client.ByteBuffer
 
put(byte) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a single byte number into the buffer at the current position.
putAt(int, byte) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a single byte number into the buffer at the specified index.
putBuffer(ByteBuffer) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a buffer into the buffer at the current position.
putBufferAt(int, ByteBuffer) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a buffer into the buffer at the specified index.
putBytes(byte[]) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a single-byte array into the buffer at the current position.
putBytesAt(int, byte[]) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a byte array into the buffer at the specified index.
putInt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 4-byte number into the buffer at the current position.
putIntAt(int, int) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 4-byte number into the buffer at the specified index.
putLong(long) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 8-byte number into the buffer at the current position.
putLongAt(int, long) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 8-byte number into the buffer at the specified index.
putMediumInt(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 3-byte number into the buffer at the current position.
putMediumIntAt(int, int) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 3-byte number into the buffer at the specified index.
putPrefixedString(int, int, Charset) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a string into the buffer at the specified index, using the character set to encode the string as bytes.
putShort(short) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 2-byte number into the buffer at the current position.
putShortAt(int, short) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a 2-byte number into the buffer at the specified index.
putString(String, Charset) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a string into the buffer at the current position, using the character set to encode the string as bytes.
putUnsignedShort(short) - Method in class com.kaazing.gateway.client.ByteBuffer
Puts a two-byte array into the buffer at the current position.

R

remaining() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns the number of bytes remaining from the current position to the limit.
remaining(int) - Method in class com.kaazing.gateway.client.ByteBuffer
 
reset() - Method in class com.kaazing.gateway.client.ByteBuffer
Resets the buffer position using the mark.
rewind() - Method in class com.kaazing.gateway.client.ByteBuffer
Rewinds the buffer.

S

send(String) - Method in class com.kaazing.gateway.client.WebSocket
Sends text-based data to the remote socket location.
send(ByteBuffer) - Method in class com.kaazing.gateway.client.WebSocket
Sends binary-based data to the remote socket location.
setChallengeHandler(JavaScriptObject) - Method in class com.kaazing.gateway.client.WebSocketFactory
set a ChallengeHandler for this WebSocketFactory, all WebSocket connections created by this factory will use the challengeHandler to login.
setDefaultConnectTimeout(int) - Method in class com.kaazing.gateway.client.WebSocketFactory
Sets the default connection timeout in milliseconds.
setExtension(WebSocketExtension) - Method in class com.kaazing.gateway.client.WebSocketFactory
add or update the WebSocketExtension to this WebSocketFactory object.
skip(int) - Method in class com.kaazing.gateway.client.ByteBuffer
Skips the specified number of bytes from the current position.
slice() - Method in class com.kaazing.gateway.client.ByteBuffer
Returns a sliced buffer, setting the position to zero, and decrementing the limit accordingly.

T

toString() - Method in class com.kaazing.gateway.client.URI
 

U

URI - Class in com.kaazing.gateway.client
 
URI(String) - Constructor for class com.kaazing.gateway.client.URI
 
URISyntaxException - Exception in com.kaazing.gateway.client
 
URISyntaxException() - Constructor for exception com.kaazing.gateway.client.URISyntaxException
 

W

wasClean() - Method in class com.kaazing.gateway.client.NativeCloseEvent
 
wasClean() - Method in class com.kaazing.gateway.client.WebSocket.CloseEvent
 
WebSocket - Class in com.kaazing.gateway.client
 
WebSocket(String, String[]) - Constructor for class com.kaazing.gateway.client.WebSocket
Creates a new WebSocket instance and connects to the remote socket location.
WebSocket(String) - Constructor for class com.kaazing.gateway.client.WebSocket
 
WebSocket(WebSocketFactory, String, String[]) - Constructor for class com.kaazing.gateway.client.WebSocket
 
WebSocket.CloseEvent - Class in com.kaazing.gateway.client
 
WebSocket.CloseEvent(NativeCloseEvent) - Constructor for class com.kaazing.gateway.client.WebSocket.CloseEvent
 
WebSocket.CloseHandler - Interface in com.kaazing.gateway.client
 
WebSocket.ErrorEvent - Class in com.kaazing.gateway.client
 
WebSocket.ErrorHandler - Interface in com.kaazing.gateway.client
 
WebSocket.MessageEvent - Class in com.kaazing.gateway.client
 
WebSocket.MessageEvent(NativeMessageEvent) - Constructor for class com.kaazing.gateway.client.WebSocket.MessageEvent
 
WebSocket.MessageHandler - Interface in com.kaazing.gateway.client
 
WebSocket.OpenEvent - Class in com.kaazing.gateway.client
 
WebSocket.OpenHandler - Interface in com.kaazing.gateway.client
 
WebSocket.ReadyState - Class in com.kaazing.gateway.client
 
WebSocket.ReadyState() - Constructor for class com.kaazing.gateway.client.WebSocket.ReadyState
 
WebSocketException - Exception in com.kaazing.gateway.client
 
WebSocketException(String) - Constructor for exception com.kaazing.gateway.client.WebSocketException
Exception raised from WebSocket
WebSocketException(Exception) - Constructor for exception com.kaazing.gateway.client.WebSocketException
 
WebSocketExtension - Class in com.kaazing.gateway.client
 
WebSocketExtension() - Constructor for class com.kaazing.gateway.client.WebSocketExtension
 
WebSocketFactory - Class in com.kaazing.gateway.client
 
WebSocketFactory() - Constructor for class com.kaazing.gateway.client.WebSocketFactory
 
WindowProxy - Class in com.kaazing.gateway.client
 
WindowProxy() - Constructor for class com.kaazing.gateway.client.WindowProxy
 
wrap(byte[]) - Static method in class com.kaazing.gateway.client.ByteBuffer
Wraps a byte array as a new ByteBuffer instance.
A B C D E F G H I L M N O P R S T U W 

Copyright © 2014. All Rights Reserved.