A B C D E F G H I L N O P R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addListener(RTCTransportListener) - Method in interface org.ngengine.platform.transport.RTCTransport
- addListener(WebsocketTransportListener) - Method in interface org.ngengine.platform.transport.WebsocketTransport
- addRemoteIceCandidates(Collection<RTCTransportIceCandidate>) - Method in interface org.ngengine.platform.transport.RTCTransport
- aes256cbc(byte[], byte[], byte[], boolean) - Method in class org.ngengine.platform.NGEPlatform
-
Encrypts or decrypts data using AES-256 in CBC mode with PKCS7 padding.
- all(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Returns an AsyncTask that resolved when all of the provided AsyncTask instances resolve, or fails if any of the provided AsyncTask instances fails.
- allSettled(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Returns an AsyncTask that resolves when all of the provided AsyncTask instances have settled (either resolved or failed).
- allZeroes(byte[]) - Static method in class org.ngengine.platform.NGEUtils
- any(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Returns an AsyncTask that resolves as soon as any of the provided AsyncTask instances resolves, or fails if all of the provided AsyncTask instances fail.
- apply(T) - Method in interface org.ngengine.platform.ThrowableFunction
- AsyncExecutor - Interface in org.ngengine.platform
- AsyncTask<T> - Interface in org.ngengine.platform
- await() - Method in interface org.ngengine.platform.AsyncTask
- awaitAll(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Blocks the current thread and awaits all the provided AsyncTask instances to complete and returns a list of their results.
- awaitAll(List<AsyncTask<T>>) - Method in class org.ngengine.platform.NGEPlatform
-
Waits for all promises to resolve.
- awaitAllSettled(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Blocks the current thread and awaits all the provided AsyncTask instances to complete (either resolved or failed) and returns a list of their results.
- awaitAllSettled(List<AsyncTask<T>>) - Method in class org.ngengine.platform.NGEPlatform
-
Awaits for all promises to settle (either resolve or reject).
- awaitAny(List<AsyncTask<T>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Blocks the current thread and awaits any of the provided AsyncTask instances to complete and returns its result.
- awaitAny(List<AsyncTask<T>>) - Method in class org.ngengine.platform.NGEPlatform
-
Waits for any promise to resolve.
- awaitAny(List<AsyncTask<T>>, Predicate<T>) - Method in class org.ngengine.platform.NGEPlatform
-
Waits for any promise to resolve and match the filter.
- awaitNoThrow(AsyncTask<T>) - Static method in class org.ngengine.platform.NGEUtils
B
- base64decode(String) - Method in class org.ngengine.platform.NGEPlatform
- base64encode(byte[]) - Method in class org.ngengine.platform.NGEPlatform
- body - Variable in class org.ngengine.platform.transport.NGEHttpResponse
- body - Variable in class org.ngengine.platform.transport.NGEHttpResponseStream
- body() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- body() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- bodyAsString() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- BrowserInterceptor - Interface in org.ngengine.platform
- bytesToHex(byte[]) - Static method in class org.ngengine.platform.NGEUtils
- bytesToHex(ByteBuffer) - Static method in class org.ngengine.platform.NGEUtils
C
- callFunction(String, Object, Consumer<Object>, Consumer<Throwable>) - Method in class org.ngengine.platform.NGEPlatform
-
Run platform specific script
- canCallFunction(String, Consumer<Boolean>) - Method in class org.ngengine.platform.NGEPlatform
- cancel() - Method in interface org.ngengine.platform.AsyncTask
- catchException(Consumer<Throwable>) - Method in interface org.ngengine.platform.AsyncTask
- censorSpecial(String) - Static method in class org.ngengine.platform.NGEUtils
- chacha20(byte[], byte[], byte[], boolean) - Method in class org.ngengine.platform.NGEPlatform
- clone() - Method in class org.ngengine.platform.RTCSettings
- close() - Method in interface org.ngengine.platform.AsyncExecutor
- close() - Method in class org.ngengine.platform.ExecutionQueue
- close() - Method in interface org.ngengine.platform.transport.RTCTransport
- close(String) - Method in interface org.ngengine.platform.transport.WebsocketTransport
- completed(T) - Static method in interface org.ngengine.platform.AsyncTask
-
Returns an already completed AsyncTask with the given value.
- compose(ThrowableFunction<T, AsyncTask<R>>) - Method in interface org.ngengine.platform.AsyncTask
- connect(String) - Method in interface org.ngengine.platform.transport.WebsocketTransport
- connectToChannel(String) - Method in interface org.ngengine.platform.transport.RTCTransport
- create(BiConsumer<Consumer<T>, Consumer<Throwable>>) - Static method in interface org.ngengine.platform.AsyncTask
-
Create an AsyncTask wrapper around some asynchronous code.
- create(BiConsumer<Consumer<T>, Consumer<Throwable>>, AsyncExecutor) - Static method in interface org.ngengine.platform.AsyncTask
-
Same as
AsyncTask.create(BiConsumer)but the function is executed in the provided executor.
D
- dbg(Runnable) - Static method in class org.ngengine.platform.NGEUtils
-
Wrapper to exploit assert to toggle on/off debug code usage:
- DEFAULT - Static variable in class org.ngengine.platform.RTCSettings
- DELAYED_CANDIDATES_INTERVAL - Static variable in class org.ngengine.platform.RTCSettings
- delete(String) - Method in class org.ngengine.platform.VStore
- delete(String) - Method in interface org.ngengine.platform.VStore.VStoreBackend
E
- enqueue(BiConsumer<Consumer<T>, Consumer<Throwable>>) - Method in class org.ngengine.platform.ExecutionQueue
- equals(Object) - Method in class org.ngengine.platform.RTCSettings
- equals(Object) - Method in class org.ngengine.platform.transport.NGEHttpResponse
- equals(Object) - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- equals(Object) - Method in class org.ngengine.platform.transport.RTCTransportIceCandidate
- equalsIgnoreOrder(Map<String, List<String>>, Map<String, List<String>>) - Static method in class org.ngengine.platform.NGEUtils
- equalsWithOrder(Map<String, List<String>>, Map<String, List<String>>) - Static method in class org.ngengine.platform.NGEUtils
- ExecutionQueue - Class in org.ngengine.platform
- ExecutionQueue() - Constructor for class org.ngengine.platform.ExecutionQueue
- ExecutionQueue(AsyncExecutor) - Constructor for class org.ngengine.platform.ExecutionQueue
- exists(String) - Method in class org.ngengine.platform.VStore
- exists(String) - Method in interface org.ngengine.platform.VStore.VStoreBackend
F
- failed(Throwable) - Static method in interface org.ngengine.platform.AsyncTask
-
Returns an already failed AsyncTask with the given error.
- FailedToSignException - Exception in org.ngengine.platform
- FailedToSignException(String) - Constructor for exception org.ngengine.platform.FailedToSignException
- FailedToSignException(String, Throwable) - Constructor for exception org.ngengine.platform.FailedToSignException
- FailedToSignException(Throwable) - Constructor for exception org.ngengine.platform.FailedToSignException
- fromJSON(String, Class<T>) - Method in class org.ngengine.platform.NGEPlatform
G
- generatePrivateKey() - Method in class org.ngengine.platform.NGEPlatform
- genPubKey(byte[]) - Method in class org.ngengine.platform.NGEPlatform
- get() - Static method in class org.ngengine.platform.NGEPlatform
- getBrowserInterceptor() - Static method in class org.ngengine.platform.NGEPlatform
- getCacheStore(String, String) - Method in class org.ngengine.platform.NGEPlatform
- getCacheStore(String, String) - Method in interface org.ngengine.platform.VStoreInterceptor
- getCandidate() - Method in class org.ngengine.platform.transport.RTCTransportIceCandidate
- getClipboardContent() - Method in class org.ngengine.platform.NGEPlatform
- getDataStore(String, String) - Method in class org.ngengine.platform.NGEPlatform
- getDataStore(String, String) - Method in interface org.ngengine.platform.VStoreInterceptor
- getDelayedCandidatesInterval() - Method in class org.ngengine.platform.RTCSettings
- getP2pAttemptTimeout() - Method in class org.ngengine.platform.RTCSettings
- getPeerExpiration() - Method in class org.ngengine.platform.RTCSettings
- getPlatform() - Static method in class org.ngengine.platform.NGEUtils
- getPlatformName() - Method in class org.ngengine.platform.NGEPlatform
- getRoomLoopInterval() - Method in class org.ngengine.platform.RTCSettings
- getSdpMid() - Method in class org.ngengine.platform.transport.RTCTransportIceCandidate
- getSignalingLoopInterval() - Method in class org.ngengine.platform.RTCSettings
- getStoreInterceptor() - Static method in class org.ngengine.platform.NGEPlatform
- getTimestampSeconds() - Method in class org.ngengine.platform.NGEPlatform
- getVStoreQueue() - Method in class org.ngengine.platform.NGEPlatform
H
- hashCode() - Method in class org.ngengine.platform.RTCSettings
- hashCode() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- hashCode() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- hashCode() - Method in class org.ngengine.platform.transport.RTCTransportIceCandidate
- headers - Variable in class org.ngengine.platform.transport.NGEHttpResponse
- headers - Variable in class org.ngengine.platform.transport.NGEHttpResponseStream
- headers() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- headers() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- hexToByteArray(String) - Static method in class org.ngengine.platform.NGEUtils
- hexToBytes(String) - Static method in class org.ngengine.platform.NGEUtils
- hkdf_expand(byte[], byte[], int) - Method in class org.ngengine.platform.NGEPlatform
- hkdf_extract(byte[], byte[]) - Method in class org.ngengine.platform.NGEPlatform
- hmac(byte[], byte[], byte[]) - Method in class org.ngengine.platform.NGEPlatform
- httpGet(String, Duration, Map<String, String>) - Method in class org.ngengine.platform.NGEPlatform
- httpGetBytes(String, Duration, Map<String, String>) - Method in class org.ngengine.platform.NGEPlatform
-
Deprecated.
- httpRequest(String, String, byte[], Duration, Map<String, String>) - Method in class org.ngengine.platform.NGEPlatform
- httpRequestStream(String, String, byte[], Duration, Map<String, String>) - Method in class org.ngengine.platform.NGEPlatform
I
- initiateChannel() - Method in interface org.ngengine.platform.transport.RTCTransport
- isConnected() - Method in interface org.ngengine.platform.transport.RTCTransport
- isConnected() - Method in interface org.ngengine.platform.transport.WebsocketTransport
- isDone() - Method in interface org.ngengine.platform.AsyncTask
- isFailed() - Method in interface org.ngengine.platform.AsyncTask
- isLoopbackAddress(URI) - Method in class org.ngengine.platform.NGEPlatform
-
Checks if the given URI is a loopback address.
- isSuccess() - Method in interface org.ngengine.platform.AsyncTask
L
- listAll() - Method in class org.ngengine.platform.VStore
- listAll() - Method in interface org.ngengine.platform.VStore.VStoreBackend
N
- newAsyncExecutor() - Method in class org.ngengine.platform.NGEPlatform
- newAsyncExecutor(Object) - Method in class org.ngengine.platform.NGEPlatform
- newConcurrentQueue(Class<T>) - Method in class org.ngengine.platform.NGEPlatform
- newExecutionQueue() - Method in class org.ngengine.platform.NGEPlatform
- newExecutionQueue(AsyncExecutor) - Method in class org.ngengine.platform.NGEPlatform
- newPoolExecutor() - Method in class org.ngengine.platform.NGEPlatform
-
Deprecated.use
NGEPlatform.newAsyncExecutor(Object)instead - newRelayExecutor() - Method in class org.ngengine.platform.NGEPlatform
-
Deprecated.use
NGEPlatform.newAsyncExecutor(Object)instead - newRTCTransport(RTCSettings, String, Collection<String>) - Method in class org.ngengine.platform.NGEPlatform
- newSignerExecutor() - Method in class org.ngengine.platform.NGEPlatform
-
Deprecated.use
NGEPlatform.newAsyncExecutor(Object)instead - newSubscriptionExecutor() - Method in class org.ngengine.platform.NGEPlatform
-
Deprecated.use
NGEPlatform.newAsyncExecutor(Object)instead - newTransport() - Method in class org.ngengine.platform.NGEPlatform
- nfkc(String) - Method in class org.ngengine.platform.NGEPlatform
- NGEHttpResponse - Class in org.ngengine.platform.transport
- NGEHttpResponse(int, Map<String, List<String>>, byte[], boolean) - Constructor for class org.ngengine.platform.transport.NGEHttpResponse
- NGEHttpResponseStream - Class in org.ngengine.platform.transport
- NGEHttpResponseStream(int, Map<String, List<String>>, InputStream, boolean) - Constructor for class org.ngengine.platform.transport.NGEHttpResponseStream
- NGEPlatform - Class in org.ngengine.platform
- NGEPlatform() - Constructor for class org.ngengine.platform.NGEPlatform
- NGEUtils - Class in org.ngengine.platform
- NGEUtils() - Constructor for class org.ngengine.platform.NGEUtils
O
- onConnectionClosedByClient(String) - Method in interface org.ngengine.platform.transport.WebsocketTransportListener
- onConnectionClosedByServer(String) - Method in interface org.ngengine.platform.transport.WebsocketTransportListener
- onConnectionError(Throwable) - Method in interface org.ngengine.platform.transport.WebsocketTransportListener
- onConnectionMessage(String) - Method in interface org.ngengine.platform.transport.WebsocketTransportListener
- onConnectionOpen() - Method in interface org.ngengine.platform.transport.WebsocketTransportListener
- onLocalRTCIceCandidate(RTCTransportIceCandidate) - Method in interface org.ngengine.platform.transport.RTCTransportListener
- onRTCBinaryMessage(ByteBuffer) - Method in interface org.ngengine.platform.transport.RTCTransportListener
- onRTCChannelError(Throwable) - Method in interface org.ngengine.platform.transport.RTCTransportListener
- onRTCConnected() - Method in interface org.ngengine.platform.transport.RTCTransportListener
- onRTCDisconnected(String) - Method in interface org.ngengine.platform.transport.RTCTransportListener
- openInWebBrowser(String) - Method in class org.ngengine.platform.NGEPlatform
- openLink(String) - Method in interface org.ngengine.platform.BrowserInterceptor
- openResource(String) - Method in class org.ngengine.platform.NGEPlatform
- org.ngengine.platform - package org.ngengine.platform
- org.ngengine.platform.transport - package org.ngengine.platform.transport
P
- P2P_TIMEOUT - Static variable in class org.ngengine.platform.RTCSettings
- PEER_EXPIRATION - Static variable in class org.ngengine.platform.RTCSettings
- promisify(BiConsumer<Consumer<T>, Consumer<Throwable>>, AsyncExecutor) - Method in class org.ngengine.platform.NGEPlatform
- PUBLIC_STUN_SERVERS - Static variable in class org.ngengine.platform.RTCSettings
R
- randomBytes(int) - Method in class org.ngengine.platform.NGEPlatform
- read(String) - Method in class org.ngengine.platform.VStore
- read(String) - Method in interface org.ngengine.platform.VStore.VStoreBackend
- readFully(String) - Method in class org.ngengine.platform.VStore
- registerFinalizer(Object, Runnable) - Method in class org.ngengine.platform.NGEPlatform
- removeListener(RTCTransportListener) - Method in interface org.ngengine.platform.transport.RTCTransport
- removeListener(WebsocketTransportListener) - Method in interface org.ngengine.platform.transport.WebsocketTransport
- ROOM_LOOP_INTERVAL - Static variable in class org.ngengine.platform.RTCSettings
- RTCSettings - Class in org.ngengine.platform
- RTCSettings(Duration, Duration, Duration, Duration, Duration) - Constructor for class org.ngengine.platform.RTCSettings
- RTCTransport - Interface in org.ngengine.platform.transport
- RTCTransportIceCandidate - Class in org.ngengine.platform.transport
- RTCTransportIceCandidate(String, String) - Constructor for class org.ngengine.platform.transport.RTCTransportIceCandidate
- RTCTransportListener - Interface in org.ngengine.platform.transport
- run(Callable<T>) - Method in interface org.ngengine.platform.AsyncExecutor
- runInThread(Thread, Consumer<Runnable>, Runnable) - Method in class org.ngengine.platform.NGEPlatform
- runLater(Callable<T>, long, TimeUnit) - Method in interface org.ngengine.platform.AsyncExecutor
S
- safeBool(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeCollectionOfStringArray(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeDouble(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeDurationInSeconds(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeInstantInSeconds(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeInt(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeIntList(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeLong(Object) - Static method in class org.ngengine.platform.NGEUtils
-
Convert an input object to a long
- safeMSats(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeSecondsInstant(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeString(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeStringArray(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeStringList(Object) - Static method in class org.ngengine.platform.NGEUtils
- safeURI(Object) - Static method in class org.ngengine.platform.NGEUtils
- scrypt(byte[], byte[], int, int, int, int) - Method in class org.ngengine.platform.NGEPlatform
- secp256k1SharedSecret(byte[], byte[]) - Method in class org.ngengine.platform.NGEPlatform
- send(String) - Method in interface org.ngengine.platform.transport.WebsocketTransport
- set(NGEPlatform) - Static method in class org.ngengine.platform.NGEPlatform
- setBrowserInterceptor(BrowserInterceptor) - Static method in class org.ngengine.platform.NGEPlatform
- setClipboardContent(String) - Method in class org.ngengine.platform.NGEPlatform
- setPlatform(NGEPlatform) - Static method in class org.ngengine.platform.NGEUtils
- setStoreInterceptor(VStoreInterceptor) - Static method in class org.ngengine.platform.NGEPlatform
- sha256(byte[]) - Method in class org.ngengine.platform.NGEPlatform
- sha256(String) - Method in class org.ngengine.platform.NGEPlatform
- sign(String, byte[]) - Method in class org.ngengine.platform.NGEPlatform
- SIGNALING_LOOP_INTERVAL - Static variable in class org.ngengine.platform.RTCSettings
- signAsync(String, byte[]) - Method in class org.ngengine.platform.NGEPlatform
- start(RTCSettings, AsyncExecutor, String, Collection<String>) - Method in interface org.ngengine.platform.transport.RTCTransport
- status - Variable in class org.ngengine.platform.transport.NGEHttpResponse
- status - Variable in class org.ngengine.platform.transport.NGEHttpResponseStream
- status() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- status() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- statusCode - Variable in class org.ngengine.platform.transport.NGEHttpResponse
- statusCode - Variable in class org.ngengine.platform.transport.NGEHttpResponseStream
- statusCode() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- statusCode() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
T
- then(ThrowableFunction<T, R>) - Method in interface org.ngengine.platform.AsyncTask
- ThrowableFunction<T,R> - Interface in org.ngengine.platform
- toJSON(Collection) - Method in class org.ngengine.platform.NGEPlatform
- toJSON(Map) - Method in class org.ngengine.platform.NGEPlatform
- toString() - Method in class org.ngengine.platform.RTCSettings
- toString() - Method in class org.ngengine.platform.transport.NGEHttpResponse
- toString() - Method in class org.ngengine.platform.transport.NGEHttpResponseStream
- toString() - Method in class org.ngengine.platform.transport.RTCTransportIceCandidate
V
- verify(String, String, byte[]) - Method in class org.ngengine.platform.NGEPlatform
- verifyAsync(String, String, byte[]) - Method in class org.ngengine.platform.NGEPlatform
- VStore - Class in org.ngengine.platform
- VStore(VStore.VStoreBackend) - Constructor for class org.ngengine.platform.VStore
- VStore.VStoreBackend - Interface in org.ngengine.platform
- VStoreInterceptor - Interface in org.ngengine.platform
W
- WebsocketTransport - Interface in org.ngengine.platform.transport
- WebsocketTransportListener - Interface in org.ngengine.platform.transport
- wrapPromise(BiConsumer<Consumer<T>, Consumer<Throwable>>) - Method in class org.ngengine.platform.NGEPlatform
- write(String) - Method in interface org.ngengine.platform.VStore.VStoreBackend
- write(String) - Method in class org.ngengine.platform.VStore
- write(ByteBuffer) - Method in interface org.ngengine.platform.transport.RTCTransport
- writeFully(String, byte[]) - Method in class org.ngengine.platform.VStore
X
- xchacha20poly1305(byte[], byte[], byte[], byte[], boolean) - Method in class org.ngengine.platform.NGEPlatform
All Classes All Packages