Compare commits

...
29 Commits
Author SHA1 Message Date
Luke Gehorsam 1ec9b27cdf 2.3 release (#76) 2023-07-18 11:40:09 -04:00
Fernando Takagi 32a2a01325 Satori HTTP Client (#75) 2023-07-18 09:13:24 -03:00
Luke Gehorsam a98c6cb998 fix shadow jars for nakama and satori and remove hidden nakama api files in satori (#73) 2023-07-07 14:11:05 -04:00
Luke Gehorsam 3237873ce1 Satori client (#72) 2023-07-07 13:11:12 -04:00
Mo Firouz 04bf397414 Bump dependencies. (#61) 2022-09-21 11:32:47 -04:00
Fernando Takagi 3a2aafb524 Test fixes (#62) 2022-09-21 11:32:09 -04:00
Mo Firouz 07701f96d6 Add Apache 2.0 License 2022-01-16 23:44:10 +00:00
Tom Glenn 7bd15200c2 Add API docs (#60)
Pull Request #60
2022-01-11 16:10:31 +00:00
Luke Gehorsam 243b58d4b4 update protoc java to 1.41 2021-09-27 13:44:52 -04:00
Luke Gehorsam 885037a4ba specify max jdk version 2021-09-27 12:31:36 -04:00
Luke Gehorsam cbb5ffca30 update changelog 2021-04-20 08:25:18 -04:00
Luke Gehorsam 93c83702e4 fix localhost on android emulator to point to developer machine 2021-04-20 08:19:48 -04:00
Luke Gehorsam 34b4c97677 update all examples to use nakama.api subpackage and show chaining behavior 2021-04-19 20:21:38 -04:00
Luke Gehorsam 08587dcdec expose protobuf-lite as a public dependency 2021-04-09 13:28:00 -04:00
Luke Gehorsam 71c5b7fd5c update pom.xml to version 2.1.3 2021-04-08 21:21:23 -04:00
Luke Gehorsam cacb383dd7 set exception on connect future if socket receives failure or close while connecting 2021-03-18 20:58:20 -04:00
Luke Gehorsam ba95f1af66 rename connect future in web socket client 2021-03-18 20:53:22 -04:00
Luke Gehorsam 9e577bf82b rename cidFuture in websocketclient 2021-03-18 20:52:59 -04:00
Luke Gehorsam 4cc4cd495f add test for socket connect callbacks 2021-03-18 20:51:19 -04:00
Luke Gehorsam 49d64ee299 update changelog for v2.1.2 2021-03-16 16:32:50 -04:00
Luke Gehorsam 30db17a0ce update nakama-java dependency in examples 2021-03-16 16:30:29 -04:00
Luke Gehorsam 76b4af4d14 add proper compilation step for google common protos and manually downlaod descriptor.proto 2021-03-16 14:13:05 -04:00
Luke Gehorsam aa9c651bad exclude protobuf-java from all configurations 2021-03-16 10:39:31 -04:00
Luke Gehorsam 8a17d367e8 exclude grpc-protobuf from all configurations 2021-03-16 10:24:58 -04:00
Luke Gehorsam bad7ba5ab5 convert java main to mainactivity in android example 2021-03-16 08:45:24 -04:00
Luke Gehorsam 4a7ad24fe8 add firebase to our android example 2021-03-09 12:09:12 -05:00
Luke Gehorsam 60cdc891e3 update build version in build.gradle 2021-02-17 10:01:30 -05:00
Luke Gehorsam b93b814550 update changelog, releaseinst 2021-02-17 09:44:53 -05:00
Lokesh Jangid 8090c059e9 DefaultError: allow null collationId in constructor 2021-02-17 10:28:45 +00:00
147 changed files with 33909 additions and 687 deletions

No files matched your search

+39
View File
@@ -6,6 +6,45 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
## [Unreleased]
## [2.3.0] - 2023-07-18
### Added
- Satori: Adds HTTP support to the Satori client via using the `HttpClient` instead of the grpc-based `DefaultClient`.
- Satori: Added ability to specify default flag value in `GetFlag` calls.
### Fixed
- Satori: Fixed handling of network errors when calling `GetDefaultFlag` and returning of default flag value in such cases.
## [2.2.1] - 2023-07-07
### Fixed
- Fixed packing of external dependencies into fat jars.
- Removed unnecessary generated protobuf code from Satori, resulting in a smaller .jar file.
- Fixed links to documentation in pom.xml.
## [2.2.0] - 2023-07-06
### Added
- Adds the Satori Java SDK. Satori is our liveops server for game studios. Please read more about it on the Heroic Labs website.
### Changed
- Update shadow to 8.1.1
- Update to Gradle 8.2.0.
## [2.1.4] - 2021-4-20
### Fixed
- protobuf-lite is now properly exported to Maven and Gradle projects.
## [2.1.3] - 2021-3-16
### Fixed
- Dispatch error callback when socket connect fails.
## [2.1.2] - 2021-3-16
### Fixed
- Properly enable protobuf-javalite for Android builds.
## [2.1.1] - 2021-02-17
### Changed
- Allowed null values of `collationId` to be passed to the `DefaultError` object.
## [2.1.0] - 2020-01-25
### Added
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+71 -7
View File
@@ -29,9 +29,12 @@ repositories {
dependencies {
implementation 'com.github.heroiclabs.nakama-java:nakama-java:<commit>'
implementation 'com.github.heroiclabs.nakama-java:satori-java:<commit>'
// or, depend on the fat Jar which bundles all of the Nakama Java dependencies into a single Jar.
// implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:<commit>'
// implementation 'com.github.heroiclabs.nakama-java:satori-java-all:<commit>'
}
```
@@ -160,6 +163,50 @@ System.out.println("Socket connected successfully.");
By default, all socket messages are processed in a single thread. Advanced users who want to pass a multithreaded `ExecutorService` to the `client.createSocket` method should be aware that incoming messages will not necessarily be processed in order by that socket.
# Satori
Satori is a liveops server for games that powers actionable analytics, A/B testing and remote configuration. Use the Satori Java Client to communicate with Satori from your Java game or server.
Full documentation is online - https://heroiclabs.com/docs/satori/client-libraries/java/index.html
## Getting Started
Create a client object that accepts the API you were given as a Satori customer.
```java
import com.heroiclabs.satori;
Client client = new DefaultClient("https", "your.host.here", 443, "yourApiKey");
```
Alternatively, for HTTP support rather than gRPC you can create an `HttpClient` with the same parameters.
Then authenticate with the server to obtain your session.
```java
// Authenticate with the Satori server.
Map<string, string> defaultProperties = new HashMap<string, string>();
Map<string, string> customProperties = new HashMap<string, string>();
session = client.authenticate("identityId", defaultProperties, customProperties);
```
Using the client you can get any experiments or feature flags, the user belongs to.
```java
ExperimentList experiments = client.getExperiments(session).get();
Flag flag = client.getFlag(session, "FlagName").get();
```
You can also send arbitrary events to the server:
```java
Map<string, string> metadata = new HashMap<string, string>();
client.Event(session, new Event("gameLaunched", Instant.now(), "my value", metadata);
```
This is only a subset of the Satori client API, so please see the documentation link listed earlier for the [full API](https://java.docs.heroiclabs.com/html/namespace_satori.html).
### For Android
Android uses a permissions system which determines which platform services the application will request to use and ask permission for from the user. The client uses the network to communicate with the server so you must add the "INTERNET" permission.
@@ -172,21 +219,24 @@ Android uses a permissions system which determines which platform services the a
To build the codebase you will need to install these dependencies:
* Java Runtime Environment 1.8+
* Java Development Kit 1.8+
* Java Runtime Environment 1.8 through 1.11
* Java Development Kit 1.8 through 1.11
Invoke the Gradle Wrapper with `./gradlew build` and Gradle will install your dependencies over
the network for you prior to building. It will then make a build and run the full test suite.
Invoke the Gradle Wrapper with `./gradlew nakamaJar` or `./gradlew satoriJar` and Gradle will install your dependencies over
the network for you prior to building. It will then build the .jar files.
To test a specific test, run `./gradlew test --tests <ClassName.methodName>`
To run tests for Nakama, run `./gradlew nakamaTest -i`.
To run tests for Satori, run `./gradlew satoriTest -i`.
To test a specific test, run `./gradlew nakamaTest --tests <ClassName.methodName> -i`
You can also run `./gradlew tasks` for a list of available build tasks.
To create a fat JAR with self-contained dependencies, run:
`./gradlew shadow`
`./gradlew nakamaShadowJar` or `./gradlew satoriShadowJar`.
All JAR artifacts are output to `build/libs`. The fat JAR will have an artifact id of 'nakama-java-all`.
All JAR artifacts are output to `build/libs`. The fat JAR will have an `-all` suffix.
If you'd like to test a Jitpack publish task locally prior to pushing, run:
@@ -202,6 +252,20 @@ Jitpack makes builds of each commit on its own servers. You can view the results
https://jitpack.io/com/github/heroiclabs/nakama-java/<_commit_>/build.log
## Generate Docs
API docs are generated with javadoc and deployed to GitHub pages.
When changing the API comments, rerun javadoc and commit the changes in `docs/*`.
To run javadoc:
```
cd nakama-java/src/main/com/heroiclabs/nakama
javadoc *.java
```
### License
This project is licensed under the [Apache-2 License](https://github.com/heroiclabs/nakama-dotnet/blob/master/LICENSE).
+6 -25
View File
@@ -1,7 +1,7 @@
## Release Instructions
The current release infrastructure is built into the project's [build.gradle](https://github.com/heroiclabs/nakama-java/blob/master/build.gradle). You'll need both the
JDK 1.7+ and `gradle` installed to generate release packages which can be uploaded to GitHub and deployed to `"jcenter"`.
The current release infrastructure is built into the project's [build.gradle](https://github.com/heroiclabs/nakama-java/blob/master/build.gradle). You'll need both the
JDK 1.8+ and `gradle` installed to generate release packages which can be uploaded to GitHub and deployed to `"jcenter"`.
### New releases
@@ -19,10 +19,10 @@ The development team use these steps to build and upload a release.
1. Update the `CHANGELOG.md`.
Make sure to add the relevant "Added", "Changed", "Deprecated", "Removed", "Fixed", and "Security" sections as suggested by [keep a
Make sure to add the relevant "Added", "Changed", "Deprecated", "Removed", "Fixed", and "Security" sections as suggested by [keep a
changelog](http://keepachangelog.com).
2. Update version in `build.gradle` and commit. i.e. `version = '2.0.0'` should become `version = '2.1.0'`.
2. Update version in `build.gradle` and commit. For example: `version = '2.0.0'` should become `version = '2.1.0'`.
```
git add build.gradle CHANGELOG.md
@@ -38,29 +38,10 @@ changelog](http://keepachangelog.com).
git push origin v2.0.0
```
4. You can upload the release onto <a href="https://bintray.com/bintray/jcenter" target="\_blank">jcenter</a>. You must set the values in `"gradle.properties"` to your
Bintray credentials.
```
gradle -PvcsTag="v2.0.0" bintrayUpload
```
5. Login and create a [new draft release](https://github.com/heroiclabs/nakama-java/releases/new) on GitHub. Repeat the changelog in the release description. Then publish
4. Login and create a [new draft release](https://github.com/heroiclabs/nakama-java/releases/new) on GitHub. Repeat the changelog in the release description. Then publish
the release.
6. Add the previous version of the docs to the `"preserve"` closure in the build script. Deploy the latest Javadoc to GitHub Pages.
```
preserve {
include '0.1.0/**'
}
```
```
gradle gitPublishPush
```
7. Add new `## [Unreleased]` section to start of `CHANGELOG.md`. Increment version in `build.gradle` and commit. i.e. `version = '2.0.0'` should now become `version =
5. Add new `## [Unreleased]` section to start of `CHANGELOG.md`. Increment version in `build.gradle` and commit. i.e. `version = '2.0.0'` should now become `version =
'2.1.0'`.
```
+179 -107
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2020 Heroic Labs
* Copyright 2023 Heroic Labs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.gradle.plugins.ide.eclipse.model.SourceFolder
// dependencies required by the gradle build script itself
@@ -22,29 +22,32 @@ buildscript {
repositories {
// where to resolve the dependencies
maven {
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
url 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
}
google()
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.18'
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'com.google.protobuf' version '0.8.12'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'com.google.protobuf' version '0.8.18'
id 'io.freefair.lombok' version '5.1.1'
//for distTar which is called when importing this SDK w/ JitPack
id 'distribution'
id 'eclipse'
id 'maven-publish'
id 'idea'
id 'java'
id 'java-library'
}
lombok {
version = '1.18.12'
}
group = 'com.github.heroiclabs'
version = '2.0.5-SNAPSHOT'
def description = 'Android optimized Java client for Nakama server.'
version = '2.3.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
@@ -52,118 +55,135 @@ targetCompatibility = 1.8
repositories {
// where to pull dependencies from
maven {
url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
url 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
}
mavenLocal()
mavenCentral()
}
configurations {
sharedProtobuf.extendsFrom protobuf
sharedApi.extendsFrom api
sharedImplementation.extendsFrom implementation
sharedTestImplementation.extendsFrom testImplementation
}
dependencies {
// syntax sugaring for data models
annotationProcessor 'org.projectlombok:lombok:1.18.12'
implementation "org.projectlombok:lombok:1.18.12"
shadow localGroovy()
shadow gradleApi()
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.protobuf:protobuf-javalite:3.13.0'
implementation 'com.google.code.gson:gson:2.8.9'
api 'io.grpc:grpc-protobuf:1.43.2'
// listenable future is part of the SDK public API
api 'com.google.guava:guava:31.0.1-android'
implementation 'com.google.protobuf:protobuf-java:3.19.6'
implementation 'com.google.protobuf:protobuf-java-util:3.19.6'
implementation ('io.grpc:grpc-okhttp:1.31.1') {
implementation('io.grpc:grpc-okhttp:1.48.0') {
exclude group: 'com.squareup.okio', module:'okio'
}
implementation 'com.squareup.okio:okio:2.7.0'
implementation 'com.squareup.okhttp3:okhttp:4.8.1'
implementation 'io.grpc:grpc-protobuf-lite:1.31.1'
implementation 'io.grpc:grpc-stub:1.31.1'
implementation 'com.squareup.okio:okio:2.10.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation ('com.google.api.grpc:googleapis-common-protos:0.0.3') {
exclude group: 'io.grpc', module:'grpc-protobuf'
}
implementation 'io.grpc:grpc-netty-shaded:1.43.2'
implementation 'io.grpc:grpc-stub:1.43.2'
compileOnly 'org.apache.tomcat:annotations-api:6.0.53'
implementation 'org.slf4j:slf4j-simple:1.7.9'
implementation 'org.slf4j:slf4j-api:1.7.30'
protobuf 'com.google.api.grpc:proto-google-common-protos:2.7.1'
testImplementation 'junit:junit:4.13.2'
}
api 'com.google.guava:guava:29.0-android' // listenable future is part of the SDK public API
testCompile 'junit:junit:4.12'
tasks.named('shadowJar', ShadowJar) {
enableRelocation true
relocationPrefix 'heroiclabs'
}
sourceSets {
main {
nakama {
java {
srcDirs "src/main/java"
srcDirs 'src/nakama/java'
compileClasspath += configurations.sharedImplementation
compileClasspath += configurations.sharedApi
compileClasspath += configurations.sharedProtobuf
runtimeClasspath += configurations.sharedImplementation
runtimeClasspath += configurations.sharedApi
runtimeClasspath += configurations.sharedProtobuf
}
proto {
exclude 'protoc-gen-swagger/**/*.proto'
srcDir 'src/main/proto'
exclude "satori.proto"
}
}
}
idea {
module {
sourceDirs += file("${protobuf.generatedFilesBaseDir}/main/grpc");
sourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java");
}
}
/* Disable warnings from generated source code. */
eclipse {
classpath {
file {
whenMerged {
entries += new SourceFolder("build/generated/source/proto/main/grpc", null)
entries += new SourceFolder("build/generated/source/proto/main/java", null)
def grpcSource = entries.find {
it.path == "build/generated/source/proto/main/grpc"
}
grpcSource.entryAttributes["ignore_optional_problems"] = 'true'
def javaLiteSource = entries.find {
it.path == "build/generated/source/proto/main/java"
}
javaLiteSource.entryAttributes["ignore_optional_problems"] = 'true'
}
satori {
java {
srcDirs 'src/satori/java'
srcDirs += 'build/generated/source/proto/satori/java'
srcDirs += 'build/generated/source/proto/satori/grpc'
compileClasspath += configurations.sharedImplementation
compileClasspath += configurations.sharedApi
compileClasspath += configurations.sharedProtobuf
runtimeClasspath += configurations.sharedImplementation
runtimeClasspath += configurations.sharedApi
runtimeClasspath += configurations.sharedProtobuf
}
proto {
srcDir 'src/main/proto'
exclude "apigrpc.proto"
exclude "github.com/heroiclabs/nakama-common/api/*.proto"
}
}
nakamaTest {
java {
srcDirs 'src/nakama/test'
}
compileClasspath += sourceSets.nakama.output
compileClasspath += configurations.sharedTestImplementation
runtimeClasspath += sourceSets.nakama.output
runtimeClasspath += configurations.sharedTestImplementation
}
satoriTest {
java {
srcDirs 'src/satori/test'
}
compileClasspath += sourceSets.satori.output
compileClasspath += configurations.sharedTestImplementation
runtimeClasspath += sourceSets.satori.output
runtimeClasspath += configurations.sharedTestImplementation
}
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.13.0'
artifact = 'com.google.protobuf:protoc:3.19.3'
}
plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:1.31.1"
artifact = 'io.grpc:protoc-gen-grpc-java:1.43.2'
}
}
generateProtoTasks {
all().each { task ->
task.builtins {
java {
option "lite"
}
java {}
}
task.plugins {
grpc { option "lite" }
grpc {}
}
}
}
}
jar {
manifest {
attributes 'Implementation-Title': 'Nakama client',
'Implementation-Version': "$project.version"
}
exclude '/**/*.proto'
}
def pomConfig = {
licenses {
license {
@@ -194,55 +214,107 @@ def pomConfig = {
}
}
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
task nakamaJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Nakama client',
'Implementation-Version': "$project.version"
}
archiveBaseName = 'nakama-java'
version = project.version
from sourceSets.nakama.output
}
task satoriJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Satori client',
'Implementation-Version': "$project.version"
}
archiveBaseName = 'satori-java'
version = project.version
from sourceSets.satori.output
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
nakama(MavenPublication) {
artifact nakamaJar
artifactId 'nakama-java'
groupId "$project.group"
version "$project.version"
pom.withXml {
def root = asNode()
root.appendNode('description', 'Java client for Nakama server.')
root.appendNode('name', 'Nakama client')
root.appendNode('url', 'https://heroiclabs.com/docs/satori/client-libraries/java/')
def dependenciesNode = root.appendNode('dependencies')
configurations.implementation.allDependencies.each {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
root.children().last() + pomConfig
}
}
shadow(MavenPublication) {
project.shadow.component(it)
artifactId 'nakama-java-all'
satori(MavenPublication) {
artifact satoriJar
artifactId 'satori-java'
groupId "$project.group"
version "$project.version"
// override default classifier of 'all'
it.artifacts[0].classifier = ''
pom.withXml {
def root = asNode()
root.appendNode('description', 'Java client for Satori server.')
root.appendNode('name', 'Satori client')
root.appendNode('url', 'https://heroiclabs.com/docs/satori/client-libraries/java/')
def dependenciesNode = root.appendNode('dependencies')
configurations.implementation.allDependencies.each {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
root.children().last() + pomConfig
}
}
}
}
tasks.withType(AbstractPublishToMaven).all {
publication.artifact sourcesJar {
classifier 'sources'
}
publication.groupId "$project.group"
publication.version "$project.version"
publication.pom.withXml {
def root = asNode()
root.appendNode('description', description)
root.appendNode('name', 'Nakama client')
root.appendNode('url', 'https://heroiclabs.com/docs/android-java-client-guide/')
root.children().last() + pomConfig
}
}
shadowJar {
mergeServiceFiles()
task nakamaTest(type: Test) {
testClassesDirs = sourceSets.nakamaTest.output.classesDirs
classpath = sourceSets.nakamaTest.runtimeClasspath
}
task relocateShadowJar(type: ConfigureShadowRelocation) {
target = tasks.shadowJar
prefix = "nakama" // prefix all classpath entries with `nakama`
task satoriTest(type: Test) {
testClassesDirs = sourceSets.satoriTest.output.classesDirs
classpath = sourceSets.satoriTest.runtimeClasspath
}
tasks.shadowJar.dependsOn tasks.relocateShadowJar
task nakamaShadowJar(type: ShadowJar) {
configurations = [project.configurations.sharedImplementation,
project.configurations.sharedApi,
project.configurations.sharedProtobuf]
from sourceSets.nakama.output
archiveFileName.set("nakama-java-${version}-all.jar")
}
task satoriShadowJar(type: ShadowJar) {
configurations = [project.configurations.sharedImplementation,
project.configurations.sharedApi,
project.configurations.sharedProtobuf]
from sourceSets.satori.output
archiveFileName.set("satori-java-${version}-all.jar")
}
javadoc {
destinationDir = file('docs')
options.addBooleanOption('Xdoclint:-missing', true)
}
test {
testLogging.showStandardStreams = true
+49
View File
@@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama" target="classFrame">AbstractSocketListener</a></li>
<li><a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama" target="classFrame">Channel</a></li>
<li><a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelMessageAck</a></li>
<li><a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama" target="classFrame">ChannelType</a></li>
<li><a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Client</span></a></li>
<li><a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultClient</a></li>
<li><a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultSession</a></li>
<li><a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama" target="classFrame">Error</a></li>
<li><a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama" target="classFrame">Error.ErrorCode</a></li>
<li><a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama" target="classFrame">GsonDateDeserializer</a></li>
<li><a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama" target="classFrame">Match</a></li>
<li><a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchData</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerMatched</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerTicket</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerUser</a></li>
<li><a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionRead</a></li>
<li><a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionWrite</a></li>
<li><a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Session</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketListener</span></a></li>
<li><a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama" target="classFrame">Status</a></li>
<li><a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusUnfollowMessage</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectId</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectWrite</a></li>
<li><a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama" target="classFrame">Stream</a></li>
<li><a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamData</a></li>
<li><a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama" target="classFrame">UserPresence</a></li>
<li><a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama" target="classFrame">WebSocketClient</a></li>
</ul>
</div>
</body>
</html>
+49
View File
@@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></li>
<li><a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a></li>
<li><a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a></li>
<li><a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></li>
<li><a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">Client</span></a></li>
<li><a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama">DefaultClient</a></li>
<li><a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></li>
<li><a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></li>
<li><a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></li>
<li><a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama">GsonDateDeserializer</a></li>
<li><a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a></li>
<li><a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></li>
<li><a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></li>
<li><a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></li>
<li><a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">Session</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">SocketListener</span></a></li>
<li><a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a></li>
<li><a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama">StatusUnfollowMessage</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama">StorageObjectId</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama">StorageObjectWrite</a></li>
<li><a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></li>
<li><a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a></li>
<li><a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></li>
<li><a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></li>
</ul>
</div>
</body>
</html>
@@ -0,0 +1,503 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AbstractSocketListener (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractSocketListener (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/AbstractSocketListener.html" target="_top">Frames</a></li>
<li><a href="AbstractSocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class AbstractSocketListener" class="title">Class AbstractSocketListener</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.AbstractSocketListener</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractSocketListener</span>
extends java.lang.Object
implements <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></pre>
<div class="block">A listener for receiving <code>Client</code> events.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#AbstractSocketListener--">AbstractSocketListener</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></span>(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</code>
<div class="block">Called when a new topic message has been received.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></span>(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when a new topic presence update has been received.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></span>(java.lang.Throwable&nbsp;t)</code>
<div class="block">Called when the client socket disconnects.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></span>(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</code>
<div class="block">Called when the client receives an error.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></span>(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</code>
<div class="block">Called when a new match data is received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></span>(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</code>
<div class="block">Called when a matchmaking has found a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></span>(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</code>
<div class="block">Called when a new match presence update is received.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></span>(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</code>
<div class="block">Called when the client receives new notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives status presence updates.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></span>(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</code>
<div class="block">Called when the client receives stream data.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives stream presence updates.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractSocketListener--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractSocketListener</h4>
<pre>public&nbsp;AbstractSocketListener()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onDisconnect-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDisconnect</h4>
<pre>public&nbsp;void&nbsp;onDisconnect(java.lang.Throwable&nbsp;t)</pre>
<div class="block">Called when the client socket disconnects.
Throwable t is set if an error caused the disconnect.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - Throwable t is set if an error caused the disconnect.</dd>
</dl>
</li>
</ul>
<a name="onError-com.heroiclabs.nakama.Error-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onError</h4>
<pre>public&nbsp;void&nbsp;onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</pre>
<div class="block">Called when the client receives an error.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>error</code> - The <code>Error</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelMessage</h4>
<pre>public&nbsp;void&nbsp;onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</pre>
<div class="block">Called when a new topic message has been received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The <code>ChannelMessage</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelPresence</h4>
<pre>public&nbsp;void&nbsp;onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when a new topic presence update has been received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - The <code>ChannelPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchmakerMatched</h4>
<pre>public&nbsp;void&nbsp;onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</pre>
<div class="block">Called when a matchmaking has found a match.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matched</code> - The <code>MatchmakerMatched</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchData-com.heroiclabs.nakama.MatchData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchData</h4>
<pre>public&nbsp;void&nbsp;onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</pre>
<div class="block">Called when a new match data is received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchData</code> - The <code>MatchData</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchPresence</h4>
<pre>public&nbsp;void&nbsp;onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</pre>
<div class="block">Called when a new match presence update is received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchPresence</code> - The <code>MatchPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onNotifications-com.heroiclabs.nakama.api.NotificationList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNotifications</h4>
<pre>public&nbsp;void&nbsp;onNotifications(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</pre>
<div class="block">Called when the client receives new notifications.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>notifications</code> - The list of <code>Notification</code> received.</dd>
</dl>
</li>
</ul>
<a name="onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusPresence</h4>
<pre>public&nbsp;void&nbsp;onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives status presence updates.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StatusPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamPresence</h4>
<pre>public&nbsp;void&nbsp;onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives stream presence updates.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StreamPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamData-com.heroiclabs.nakama.StreamData-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onStreamData</h4>
<pre>public&nbsp;void&nbsp;onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</pre>
<div class="block">Called when the client receives stream data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - Stream <code>StreamData</code> data received.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/AbstractSocketListener.html" target="_top">Frames</a></li>
<li><a href="AbstractSocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+396
View File
@@ -0,0 +1,396 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Channel (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Channel (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Channel.html" target="_top">Frames</a></li>
<li><a href="Channel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Channel" class="title">Class Channel</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Channel</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Channel</span>
extends java.lang.Object</pre>
<div class="block">A chat channel on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getId--">getId</a></span>()</code>
<div class="block">The server-assigned channel ID.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The presences visible on the chat channel.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The presence of the current user.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getId()</pre>
<div class="block">The server-assigned channel ID.</div>
</li>
</ul>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The presences visible on the chat channel.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSelf()</pre>
<div class="block">The presence of the current user. i.e. Your self.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Channel.html" target="_top">Frames</a></li>
<li><a href="Channel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,460 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelMessageAck (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelMessageAck (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelMessageAck.html" target="_top">Frames</a></li>
<li><a href="ChannelMessageAck.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class ChannelMessageAck" class="title">Class ChannelMessageAck</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelMessageAck</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ChannelMessageAck</span>
extends java.lang.Object</pre>
<div class="block">An acknowledgement from the server when a chat message is delivered to a channel.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getChannelId--">getChannelId</a></span>()</code>
<div class="block">The server-assigned channel ID.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getCode--">getCode</a></span>()</code>
<div class="block">A user-defined code for the chat message.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getCreateTime--">getCreateTime</a></span>()</code>
<div class="block">The UNIX time when the message was created.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getMessageId--">getMessageId</a></span>()</code>
<div class="block">A unique ID for the chat message.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUpdateTime--">getUpdateTime</a></span>()</code>
<div class="block">The UNIX time when the message was updated.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUsername--">getUsername</a></span>()</code>
<div class="block">The username of the sender of the message.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#isPersistent--">isPersistent</a></span>()</code>
<div class="block">True if the chat message has been stored in history.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMessageId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessageId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMessageId()</pre>
<div class="block">A unique ID for the chat message.</div>
</li>
</ul>
<a name="getChannelId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getChannelId()</pre>
<div class="block">The server-assigned channel ID.</div>
</li>
</ul>
<a name="getCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>public&nbsp;int&nbsp;getCode()</pre>
<div class="block">A user-defined code for the chat message.</div>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<div class="block">The username of the sender of the message.</div>
</li>
</ul>
<a name="isPersistent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistent</h4>
<pre>public&nbsp;boolean&nbsp;isPersistent()</pre>
<div class="block">True if the chat message has been stored in history.</div>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>public&nbsp;java.util.Date&nbsp;getCreateTime()</pre>
<div class="block">The UNIX time when the message was created.</div>
</li>
</ul>
<a name="getUpdateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdateTime</h4>
<pre>public&nbsp;java.util.Date&nbsp;getUpdateTime()</pre>
<div class="block">The UNIX time when the message was updated.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelMessageAck.html" target="_top">Frames</a></li>
<li><a href="ChannelMessageAck.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,396 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="ChannelPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class ChannelPresenceEvent" class="title">Class ChannelPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ChannelPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of join and leave presences on a chat channel.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getChannelId--">getChannelId</a></span>()</code>
<div class="block">The unique identifier of the chat channel.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">The unique identifier of the chat channel.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the channel.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getChannelId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getChannelId()</pre>
<div class="block">The unique identifier of the chat channel.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">The unique identifier of the chat channel.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the channel.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="ChannelPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+371
View File
@@ -0,0 +1,371 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelType (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelType (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelType.html" target="_top">Frames</a></li>
<li><a href="ChannelType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum ChannelType" class="title">Enum ChannelType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelType</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">ChannelType</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</pre>
<div class="block">The available channel types on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#DIRECT_MESSAGE">DIRECT_MESSAGE</a></span></code>
<div class="block">A private chat between two users.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#GROUP">GROUP</a></span></code>
<div class="block">A chat within a group on the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#ROOM">ROOM</a></span></code>
<div class="block">A chat room which can be created dynamically with a name.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="ROOM">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROOM</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> ROOM</pre>
<div class="block">A chat room which can be created dynamically with a name.</div>
</li>
</ul>
<a name="DIRECT_MESSAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DIRECT_MESSAGE</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> DIRECT_MESSAGE</pre>
<div class="block">A private chat between two users.</div>
</li>
</ul>
<a name="GROUP">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GROUP</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> GROUP</pre>
<div class="block">A chat within a group on the server.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (ChannelType c : ChannelType.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelType.html" target="_top">Frames</a></li>
<li><a href="ChannelType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,488 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>DefaultSession (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultSession (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":9,"i13":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/DefaultSession.html" target="_top">Frames</a></li>
<li><a href="DefaultSession.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class DefaultSession" class="title">Class DefaultSession</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.DefaultSession</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultSession</span>
extends java.lang.Object
implements <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></pre>
<div class="block">Default implementation of Session interface.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getAuthToken--">getAuthToken</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getCreateTime--">getCreateTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getExpireTime--">getExpireTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getUserId--">getUserId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getUsername--">getUsername</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getVars--">getVars</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#isCreated--">isCreated</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#IsExpired--">IsExpired</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#isExpired-java.util.Date-">isExpired</a></span>(java.util.Date&nbsp;dateTime)</code>
<div class="block">Check if the session has expired against the input time.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#restore-java.lang.String-">restore</a></span>(java.lang.String&nbsp;token)</code>
<div class="block">Restore a session from an authentication token.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="IsExpired--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IsExpired</h4>
<pre>public&nbsp;boolean&nbsp;IsExpired()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#IsExpired--">IsExpired</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the session has expired against the current time.</dd>
</dl>
</li>
</ul>
<a name="isExpired-java.util.Date-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpired</h4>
<pre>public&nbsp;boolean&nbsp;isExpired(java.util.Date&nbsp;dateTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">Session</a></code></span></div>
<div class="block">Check if the session has expired against the input time.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">isExpired</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dateTime</code> - The time to compare against the session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the session has expired.</dd>
</dl>
</li>
</ul>
<a name="restore-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>restore</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;restore(java.lang.String&nbsp;token)</pre>
<div class="block">Restore a session from an authentication token.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>token</code> - The authentication token from a Session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A session restored from the authentication token.</dd>
</dl>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>public&nbsp;long&nbsp;getCreateTime()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getCreateTime--">getCreateTime</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session object was created.</dd>
</dl>
</li>
</ul>
<a name="getExpireTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpireTime</h4>
<pre>public&nbsp;long&nbsp;getExpireTime()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getExpireTime--">getExpireTime</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session will expire.</dd>
</dl>
</li>
</ul>
<a name="isCreated--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>public&nbsp;boolean&nbsp;isCreated()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#isCreated--">isCreated</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the user account for this session was just created.</dd>
</dl>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUsername--">getUsername</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The username of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUserId--">getUserId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The ID of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getAuthToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthToken</h4>
<pre>public&nbsp;java.lang.String&nbsp;getAuthToken()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getAuthToken--">getAuthToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The authentication token used to construct this session.</dd>
</dl>
</li>
</ul>
<a name="getVars--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVars</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getVars()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Get session vars.</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/DefaultSession.html" target="_top">Frames</a></li>
<li><a href="DefaultSession.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,425 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Error.ErrorCode (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Error.ErrorCode (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.ErrorCode.html" target="_top">Frames</a></li>
<li><a href="Error.ErrorCode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum Error.ErrorCode" class="title">Enum Error.ErrorCode</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Error.ErrorCode</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></dd>
</dl>
<hr>
<br>
<pre>public static enum <span class="typeNameLabel">Error.ErrorCode</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</pre>
<div class="block">The error code for the problem.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#BAD_INPUT">BAD_INPUT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MATCH_JOIN_REJECTED">MATCH_JOIN_REJECTED</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MATCH_NOT_FOUND">MATCH_NOT_FOUND</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MISSING_PAYLOAD">MISSING_PAYLOAD</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_EXCEPTION">RUNTIME_EXCEPTION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_FUNCTION_EXCEPTION">RUNTIME_FUNCTION_EXCEPTION</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_FUNCTION_NOT_FOUND">RUNTIME_FUNCTION_NOT_FOUND</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#UNKNOWN">UNKNOWN</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#UNRECOGNISED_PAYLOAD">UNRECOGNISED_PAYLOAD</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="UNKNOWN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNKNOWN</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> UNKNOWN</pre>
</li>
</ul>
<a name="RUNTIME_EXCEPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RUNTIME_EXCEPTION</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_EXCEPTION</pre>
</li>
</ul>
<a name="UNRECOGNISED_PAYLOAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNRECOGNISED_PAYLOAD</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> UNRECOGNISED_PAYLOAD</pre>
</li>
</ul>
<a name="MISSING_PAYLOAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MISSING_PAYLOAD</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MISSING_PAYLOAD</pre>
</li>
</ul>
<a name="BAD_INPUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BAD_INPUT</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> BAD_INPUT</pre>
</li>
</ul>
<a name="MATCH_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_NOT_FOUND</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MATCH_NOT_FOUND</pre>
</li>
</ul>
<a name="MATCH_JOIN_REJECTED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_JOIN_REJECTED</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MATCH_JOIN_REJECTED</pre>
</li>
</ul>
<a name="RUNTIME_FUNCTION_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RUNTIME_FUNCTION_NOT_FOUND</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_FUNCTION_NOT_FOUND</pre>
</li>
</ul>
<a name="RUNTIME_FUNCTION_EXCEPTION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RUNTIME_FUNCTION_EXCEPTION</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_FUNCTION_EXCEPTION</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Error.ErrorCode c : Error.ErrorCode.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.ErrorCode.html" target="_top">Frames</a></li>
<li><a href="Error.ErrorCode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Error (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Error (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.html" target="_top">Frames</a></li>
<li><a href="Error.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Error" class="title">Class Error</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Throwable</li>
<li>
<ul class="inheritance">
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Error</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">Error</span>
extends java.lang.Exception</pre>
<div class="block">An error caused from an operation with the server.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#com.heroiclabs.nakama.Error">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></span></code>
<div class="block">The error code for the problem.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.html#getCode--">getCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.html#getCollationId--">getCollationId</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Throwable</h3>
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>public abstract&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&nbsp;getCode()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The code for the error.</dd>
</dl>
</li>
</ul>
<a name="getCollationId--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCollationId</h4>
<pre>public abstract&nbsp;java.lang.String&nbsp;getCollationId()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The collation ID associated with this error. Could be null.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.html" target="_top">Frames</a></li>
<li><a href="Error.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,283 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>GsonDateDeserializer (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GsonDateDeserializer (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/GsonDateDeserializer.html" target="_top">Frames</a></li>
<li><a href="GsonDateDeserializer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class GsonDateDeserializer" class="title">Class GsonDateDeserializer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.GsonDateDeserializer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">GsonDateDeserializer</span>
extends java.lang.Object
implements com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</pre>
<div class="block">A custom Date serializer to indicate to GSON that it is receiving UTC timestamps.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html#GsonDateDeserializer--">GsonDateDeserializer</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html#deserialize-com.google.gson.JsonElement-java.lang.reflect.Type-com.google.gson.JsonDeserializationContext-">deserialize</a></span>(com.google.gson.JsonElement&nbsp;element,
java.lang.reflect.Type&nbsp;arg1,
com.google.gson.JsonDeserializationContext&nbsp;arg2)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GsonDateDeserializer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GsonDateDeserializer</h4>
<pre>public&nbsp;GsonDateDeserializer()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="deserialize-com.google.gson.JsonElement-java.lang.reflect.Type-com.google.gson.JsonDeserializationContext-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deserialize</h4>
<pre>public&nbsp;java.util.Date&nbsp;deserialize(com.google.gson.JsonElement&nbsp;element,
java.lang.reflect.Type&nbsp;arg1,
com.google.gson.JsonDeserializationContext&nbsp;arg2)
throws com.google.gson.JsonParseException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>deserialize</code>&nbsp;in interface&nbsp;<code>com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>com.google.gson.JsonParseException</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/GsonDateDeserializer.html" target="_top">Frames</a></li>
<li><a href="GsonDateDeserializer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+380
View File
@@ -0,0 +1,380 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Match (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Match (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Match.html" target="_top">Frames</a></li>
<li><a href="Match.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Match" class="title">Class Match</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Match</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Match</span>
extends java.lang.Object</pre>
<div class="block">A multiplayer match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getLabel--">getLabel</a></span>()</code>
<div class="block">A label for the match which can be filtered on.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The presences already in the match.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The current user in this match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getSize--">getSize</a></span>()</code>
<div class="block">The number of users currently in the match.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#isAuthoritative--">isAuthoritative</a></span>()</code>
<div class="block">True if this match has an authoritative handler on the server.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isAuthoritative--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAuthoritative</h4>
<pre>public&nbsp;boolean&nbsp;isAuthoritative()</pre>
<div class="block">True if this match has an authoritative handler on the server.</div>
</li>
</ul>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLabel()</pre>
<div class="block">A label for the match which can be filtered on.</div>
</li>
</ul>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The presences already in the match.</div>
</li>
</ul>
<a name="getSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;int&nbsp;getSize()</pre>
<div class="block">The number of users currently in the match.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSelf()</pre>
<div class="block">The current user in this match. i.e. Yourself.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Match.html" target="_top">Frames</a></li>
<li><a href="Match.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+369
View File
@@ -0,0 +1,369 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchData (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchData (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchData.html" target="_top">Frames</a></li>
<li><a href="MatchData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchData" class="title">Class MatchData</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchData</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchData</span>
extends java.lang.Object</pre>
<div class="block">Some game state update in a match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getData--">getData</a></span>()</code>
<div class="block">Returns match data</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getOpCode--">getOpCode</a></span>()</code>
<div class="block">The operation code for the state change.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getPresence--">getPresence</a></span>()</code>
<div class="block">Information on the user who sent the state change.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#isReliable--">isReliable</a></span>()</code>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public&nbsp;byte[]&nbsp;getData()</pre>
<div class="block">Returns match data</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>match data</dd>
</dl>
</li>
</ul>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getOpCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpCode</h4>
<pre>public&nbsp;long&nbsp;getOpCode()</pre>
<div class="block">The operation code for the state change.
This value can be used to mark the type of the contents of the state.</div>
</li>
</ul>
<a name="getPresence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresence</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getPresence()</pre>
<div class="block">Information on the user who sent the state change.</div>
</li>
</ul>
<a name="isReliable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReliable</h4>
<pre>public&nbsp;boolean&nbsp;isReliable()</pre>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchData.html" target="_top">Frames</a></li>
<li><a href="MatchData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,332 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="MatchPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchPresenceEvent" class="title">Class MatchPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of join and leave presences for a match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who joined the match.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the match.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who joined the match.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the match.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="MatchPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,365 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerMatched (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerMatched (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerMatched.html" target="_top">Frames</a></li>
<li><a href="MatchmakerMatched.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerMatched" class="title">Class MatchmakerMatched</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerMatched</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerMatched</span>
extends java.lang.Object</pre>
<div class="block">The result of a successful matchmaker operation sent to the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The id used to join the match.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The current user who matched with opponents.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getTicket--">getTicket</a></span>()</code>
<div class="block">The ticket sent by the server when the user requested to matchmake for other players.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getToken--">getToken</a></span>()</code>
<div class="block">The token used to join a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getUsers--">getUsers</a></span>()</code>
<div class="block">The other users matched with this user and the parameters they sent.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The id used to join the match.
A match ID used to join the match.</div>
</li>
</ul>
<a name="getTicket--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTicket</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTicket()</pre>
<div class="block">The ticket sent by the server when the user requested to matchmake for other players.</div>
</li>
</ul>
<a name="getToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToken</h4>
<pre>public&nbsp;java.lang.String&nbsp;getToken()</pre>
<div class="block">The token used to join a match.</div>
</li>
</ul>
<a name="getUsers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsers</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&gt;&nbsp;getUsers()</pre>
<div class="block">The other users matched with this user and the parameters they sent.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&nbsp;getSelf()</pre>
<div class="block">The current user who matched with opponents.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerMatched.html" target="_top">Frames</a></li>
<li><a href="MatchmakerMatched.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerTicket (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerTicket (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerTicket.html" target="_top">Frames</a></li>
<li><a href="MatchmakerTicket.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerTicket" class="title">Class MatchmakerTicket</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerTicket</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerTicket</span>
extends java.lang.Object</pre>
<div class="block">The matchmaker ticket received from the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#getTicket--">getTicket</a></span>()</code>
<div class="block">The ticket generated by the matchmaker.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTicket--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTicket</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTicket()</pre>
<div class="block">The ticket generated by the matchmaker.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerTicket.html" target="_top">Frames</a></li>
<li><a href="MatchmakerTicket.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,332 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerUser (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerUser (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerUser.html" target="_top">Frames</a></li>
<li><a href="MatchmakerUser.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerUser" class="title">Class MatchmakerUser</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerUser</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerUser</span>
extends java.lang.Object</pre>
<div class="block">The user with the parameters they sent to the server when asking for opponents.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.Double&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getNumericProperties--">getNumericProperties</a></span>()</code>
<div class="block">The numeric properties which this user asked to matchmake with.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getPresence--">getPresence</a></span>()</code>
<div class="block">The presence of the user.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getStringProperties--">getStringProperties</a></span>()</code>
<div class="block">The string properties which this user asked to matchmake with.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getNumericProperties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumericProperties</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;getNumericProperties()</pre>
<div class="block">The numeric properties which this user asked to matchmake with.</div>
</li>
</ul>
<a name="getPresence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresence</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getPresence()</pre>
<div class="block">The presence of the user.</div>
</li>
</ul>
<a name="getStringProperties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringProperties</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getStringProperties()</pre>
<div class="block">The string properties which this user asked to matchmake with.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerUser.html" target="_top">Frames</a></li>
<li><a href="MatchmakerUser.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,362 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>PermissionRead (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PermissionRead (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionRead.html" target="_top">Frames</a></li>
<li><a href="PermissionRead.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum PermissionRead" class="title">Enum PermissionRead</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.PermissionRead</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">PermissionRead</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</pre>
<div class="block">Storage read permissions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#NO_READ">NO_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#OWNER_READ">OWNER_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#PUBLIC_READ">PUBLIC_READ</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="NO_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NO_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> NO_READ</pre>
</li>
</ul>
<a name="OWNER_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OWNER_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> OWNER_READ</pre>
</li>
</ul>
<a name="PUBLIC_READ">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PUBLIC_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> PUBLIC_READ</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (PermissionRead c : PermissionRead.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionRead.html" target="_top">Frames</a></li>
<li><a href="PermissionRead.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,350 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>PermissionWrite (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PermissionWrite (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionWrite.html" target="_top">Frames</a></li>
<li><a href="PermissionWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum PermissionWrite" class="title">Enum PermissionWrite</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.PermissionWrite</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">PermissionWrite</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</pre>
<div class="block">Storage write permissions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#NO_READ">NO_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#OWNER_WRITE">OWNER_WRITE</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="NO_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NO_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> NO_READ</pre>
</li>
</ul>
<a name="OWNER_WRITE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OWNER_WRITE</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> OWNER_WRITE</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (PermissionWrite c : PermissionWrite.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionWrite.html" target="_top">Frames</a></li>
<li><a href="PermissionWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+366
View File
@@ -0,0 +1,366 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Session (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Session (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Session.html" target="_top">Frames</a></li>
<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface Session" class="title">Interface Session</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Session</span></pre>
<div class="block">A session used with requests sent to Nakama server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getAuthToken--">getAuthToken</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getCreateTime--">getCreateTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getExpireTime--">getExpireTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getUserId--">getUserId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getUsername--">getUsername</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#isCreated--">isCreated</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#IsExpired--">IsExpired</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">isExpired</a></span>(java.util.Date&nbsp;dateTime)</code>
<div class="block">Check if the session has expired against the input time.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getAuthToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthToken</h4>
<pre>java.lang.String&nbsp;getAuthToken()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The authentication token used to construct this session.</dd>
</dl>
</li>
</ul>
<a name="isCreated--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>boolean&nbsp;isCreated()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the user account for this session was just created.</dd>
</dl>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>long&nbsp;getCreateTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session object was created.</dd>
</dl>
</li>
</ul>
<a name="getExpireTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpireTime</h4>
<pre>long&nbsp;getExpireTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session will expire.</dd>
</dl>
</li>
</ul>
<a name="IsExpired--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IsExpired</h4>
<pre>boolean&nbsp;IsExpired()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the session has expired against the current time.</dd>
</dl>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>java.lang.String&nbsp;getUsername()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The username of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>java.lang.String&nbsp;getUserId()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The ID of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="isExpired-java.util.Date-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpired</h4>
<pre>boolean&nbsp;isExpired(java.util.Date&nbsp;dateTime)</pre>
<div class="block">Check if the session has expired against the input time.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dateTime</code> - The time to compare against the session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the session has expired.</dd>
</dl>
</li>
</ul>
<a name="getVars--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getVars</h4>
<pre>java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getVars()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Get session vars.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Session.html" target="_top">Frames</a></li>
<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,987 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SocketClient (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SocketClient (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketClient.html" target="_top">Frames</a></li>
<li><a href="SocketClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface SocketClient" class="title">Interface SocketClient</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SocketClient</span></pre>
<div class="block">A socket connection to the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker--">addMatchmaker</a></span>()</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-">addMatchmaker</a></span>(int&nbsp;minCount)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-java.util.Map-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-java.util.Map-java.util.Map-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties,
java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;numericProperties)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-">connect</a></span>(@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener)</code>
<div class="block">Connect to the server.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-boolean-">connect</a></span>(@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener,
boolean&nbsp;createStatus)</code>
<div class="block">Connect to the server.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#createMatch--">createMatch</a></span>()</code>
<div class="block">Create a multiplayer match on the server.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Boolean&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#disconnect--">disconnect</a></span>()</code>
<div class="block">Close the connection with the server.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#followUsers-java.util.List-java.lang.String...-">followUsers</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;userIds,
java.lang.String...&nbsp;usernames)</code>
<div class="block">Follow one or more users for status updates.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#followUsers-java.lang.String...-">followUsers</a></span>(java.lang.String...&nbsp;userIds)</code>
<div class="block">Follow one or more users for status updates.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-boolean-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence,
boolean&nbsp;hidden)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatch-java.lang.String-">joinMatch</a></span>(@NonNull java.lang.String&nbsp;matchId)</code>
<div class="block">Join a multiplayer match by ID.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatch-java.lang.String-java.util.Map-">joinMatch</a></span>(@NonNull java.lang.String&nbsp;matchId,
@NonNull java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;metadata)</code>
<div class="block">Join a multiplayer match by ID.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatchToken-java.lang.String-">joinMatchToken</a></span>(@NonNull java.lang.String&nbsp;token)</code>
<div class="block">Join a multiplayer match with a matchmaker.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#leaveChat-java.lang.String-">leaveChat</a></span>(@NonNull java.lang.String&nbsp;channelId)</code>
<div class="block">Leave a chat channel on the server.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#leaveMatch-java.lang.String-">leaveMatch</a></span>(@NonNull java.lang.String&nbsp;matchId)</code>
<div class="block">Leave a match on the server.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#removeChatMessage-java.lang.String-java.lang.String-">removeChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;messageId)</code>
<div class="block">Remove a chat message from a channel on the server.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#removeMatchmaker-java.lang.String-">removeMatchmaker</a></span>(@NonNull java.lang.String&nbsp;ticket)</code>
<div class="block">Leave the matchmaker pool by ticket.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#rpc-java.lang.String-">rpc</a></span>(@NonNull java.lang.String&nbsp;id)</code>
<div class="block">Send an RPC message to the server.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#rpc-java.lang.String-java.lang.String-">rpc</a></span>(@NonNull java.lang.String&nbsp;id,
java.lang.String&nbsp;payload)</code>
<div class="block">Send an RPC message to the server.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#sendMatchData-java.lang.String-long-byte:A-">sendMatchData</a></span>(@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull byte[]&nbsp;data)</code>
<div class="block">Send a state change to a match on the server.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#sendMatchData-java.lang.String-long-byte:A-com.heroiclabs.nakama.UserPresence...-">sendMatchData</a></span>(@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull byte[]&nbsp;data,
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>...&nbsp;presences)</code>
<div class="block">Send a state change to a match on the server.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#unfollowUsers-java.lang.String...-">unfollowUsers</a></span>(java.lang.String...&nbsp;userIds)</code>
<div class="block">Unfollow status updates for one or more users.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#updateChatMessage-java.lang.String-java.lang.String-java.lang.String-">updateChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;messageId,
@NonNull java.lang.String&nbsp;content)</code>
<div class="block">Update a chat message to a channel on the server.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#updateStatus-java.lang.String-">updateStatus</a></span>(java.lang.String&nbsp;status)</code>
<div class="block">Update the user's status online.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#writeChatMessage-java.lang.String-java.lang.String-">writeChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;content)</code>
<div class="block">Send a chat message to a channel on the server.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;&nbsp;connect(@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener)</pre>
<div class="block">Connect to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The session of the user.</dd>
<dd><code>listener</code> - An event listener to notify on updates.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;&nbsp;connect(@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener,
boolean&nbsp;createStatus)</pre>
<div class="block">Connect to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The session of the user.</dd>
<dd><code>listener</code> - An event listener to notify on updates.</dd>
<dd><code>createStatus</code> - True if the socket should show the user as online to others.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="disconnect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disconnect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Boolean&gt;&nbsp;disconnect()</pre>
<div class="block">Close the connection with the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A close future.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dd><code>persistence</code> - True if chat messages should be stored.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence,
boolean&nbsp;hidden)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dd><code>persistence</code> - True if chat messages should be stored.</dd>
<dd><code>hidden</code> - True if the user should be hidden on the channel.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="leaveChat-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leaveChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;leaveChat(@NonNull
@NonNull java.lang.String&nbsp;channelId)</pre>
<div class="block">Leave a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The channel to leave.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="removeChatMessage-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;removeChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;messageId)</pre>
<div class="block">Remove a chat message from a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The chat channel with the message.</dd>
<dd><code>messageId</code> - The ID of a chat message to update.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="writeChatMessage-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;writeChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;content)</pre>
<div class="block">Send a chat message to a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The channel to send on.</dd>
<dd><code>content</code> - The content of the chat message.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel Ack response.</dd>
</dl>
</li>
</ul>
<a name="updateChatMessage-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;updateChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;messageId,
@NonNull
@NonNull java.lang.String&nbsp;content)</pre>
<div class="block">Update a chat message to a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The ID of the chat channel with the message.</dd>
<dd><code>messageId</code> - The ID of the message to update.</dd>
<dd><code>content</code> - The content update for the message.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="createMatch--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;createMatch()</pre>
<div class="block">Create a multiplayer match on the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="joinMatch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId)</pre>
<div class="block">Join a multiplayer match by ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - A match ID.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="joinMatch-java.lang.String-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId,
@NonNull
@NonNull java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;metadata)</pre>
<div class="block">Join a multiplayer match by ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - A match ID.</dd>
<dd><code>metadata</code> - An optional set of key-value metadata pairs to be passed to the match handler, if any.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="joinMatchToken-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatchToken</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatchToken(@NonNull
@NonNull java.lang.String&nbsp;token)</pre>
<div class="block">Join a multiplayer match with a matchmaker.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>token</code> - A matchmaker ticket result object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="leaveMatch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leaveMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;leaveMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId)</pre>
<div class="block">Leave a match on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The match to leave.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker()</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dd><code>stringProperties</code> - A set of k/v properties to provide in searches.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-java.util.Map-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties,
java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;numericProperties)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dd><code>stringProperties</code> - A set of k/v properties to provide in searches.</dd>
<dd><code>numericProperties</code> - A set of k/v numeric properties to provide in searches.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="removeMatchmaker-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;removeMatchmaker(@NonNull
@NonNull java.lang.String&nbsp;ticket)</pre>
<div class="block">Leave the matchmaker pool by ticket.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ticket</code> - The ticket returned by the matchmaker on join. See IMatchmakerTicket.Ticket.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="sendMatchData-java.lang.String-long-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMatchData</h4>
<pre>void&nbsp;sendMatchData(@NonNull
@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull
@NonNull byte[]&nbsp;data)</pre>
<div class="block">Send a state change to a match on the server.
When no presences are supplied the new match state will be sent to all presences.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The Id of the match.</dd>
<dd><code>opCode</code> - An operation code for the match state.</dd>
<dd><code>data</code> - The new state to send to the match.</dd>
</dl>
</li>
</ul>
<a name="sendMatchData-java.lang.String-long-byte:A-com.heroiclabs.nakama.UserPresence...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMatchData</h4>
<pre>void&nbsp;sendMatchData(@NonNull
@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull
@NonNull byte[]&nbsp;data,
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>...&nbsp;presences)</pre>
<div class="block">Send a state change to a match on the server.
When no presences are supplied the new match state will be sent to all presences.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The Id of the match.</dd>
<dd><code>opCode</code> - An operation code for the match state.</dd>
<dd><code>data</code> - The new state to send to the match.</dd>
<dd><code>presences</code> - The presences in the match to send the state.</dd>
</dl>
</li>
</ul>
<a name="rpc-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpc</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;&nbsp;rpc(@NonNull
@NonNull java.lang.String&nbsp;id)</pre>
<div class="block">Send an RPC message to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - The ID of the function to execute.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to an RPC response.</dd>
</dl>
</li>
</ul>
<a name="rpc-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpc</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;&nbsp;rpc(@NonNull
@NonNull java.lang.String&nbsp;id,
java.lang.String&nbsp;payload)</pre>
<div class="block">Send an RPC message to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - The ID of the function to execute.</dd>
<dd><code>payload</code> - The string content to send to the server.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to an RPC response.</dd>
</dl>
</li>
</ul>
<a name="followUsers-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>followUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;&nbsp;followUsers(@NonNull
java.lang.String...&nbsp;userIds)</pre>
<div class="block">Follow one or more users for status updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The user Ids to follow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="followUsers-java.util.List-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>followUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;&nbsp;followUsers(java.util.List&lt;java.lang.String&gt;&nbsp;userIds,
java.lang.String...&nbsp;usernames)</pre>
<div class="block">Follow one or more users for status updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The user Ids to follow.</dd>
<dd><code>usernames</code> - Usernames to follow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="unfollowUsers-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unfollowUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;unfollowUsers(@NonNull
java.lang.String...&nbsp;userIds)</pre>
<div class="block">Unfollow status updates for one or more users.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The ids of users to unfollow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="updateStatus-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateStatus</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;updateStatus(java.lang.String&nbsp;status)</pre>
<div class="block">Update the user's status online.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - The new status of the user.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketClient.html" target="_top">Frames</a></li>
<li><a href="SocketClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,428 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SocketListener (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SocketListener (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketListener.html" target="_top">Frames</a></li>
<li><a href="SocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface SocketListener" class="title">Interface SocketListener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SocketListener</span></pre>
<div class="block">A listener for receiving <code>Client</code> events.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></span>(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</code>
<div class="block">Called when a new topic message has been received.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></span>(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when a new topic presence update has been received.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></span>(java.lang.Throwable&nbsp;t)</code>
<div class="block">Called when the client socket disconnects.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></span>(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</code>
<div class="block">Called when the client receives an error.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></span>(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</code>
<div class="block">Called when a new match data is received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></span>(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</code>
<div class="block">Called when a matchmaking has found a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></span>(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</code>
<div class="block">Called when a new match presence update is received.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></span>(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</code>
<div class="block">Called when the client receives new notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives status presence updates.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></span>(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</code>
<div class="block">Called when the client receives stream data.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives stream presence updates.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onDisconnect-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDisconnect</h4>
<pre>void&nbsp;onDisconnect(java.lang.Throwable&nbsp;t)</pre>
<div class="block">Called when the client socket disconnects.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - Throwable t is set if an error caused the disconnect.</dd>
</dl>
</li>
</ul>
<a name="onError-com.heroiclabs.nakama.Error-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onError</h4>
<pre>void&nbsp;onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</pre>
<div class="block">Called when the client receives an error.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>error</code> - The <code>Error</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelMessage</h4>
<pre>void&nbsp;onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</pre>
<div class="block">Called when a new topic message has been received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The <code>ChannelMessage</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelPresence</h4>
<pre>void&nbsp;onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when a new topic presence update has been received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - The <code>ChannelPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchmakerMatched</h4>
<pre>void&nbsp;onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</pre>
<div class="block">Called when a matchmaking has found a match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matched</code> - The <code>MatchmakerMatched</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchData-com.heroiclabs.nakama.MatchData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchData</h4>
<pre>void&nbsp;onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</pre>
<div class="block">Called when a new match data is received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchData</code> - The <code>MatchData</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchPresence</h4>
<pre>void&nbsp;onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</pre>
<div class="block">Called when a new match presence update is received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchPresence</code> - The <code>MatchPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onNotifications-com.heroiclabs.nakama.api.NotificationList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNotifications</h4>
<pre>void&nbsp;onNotifications(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</pre>
<div class="block">Called when the client receives new notifications.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>notifications</code> - The list of <code>Notification</code> received.</dd>
</dl>
</li>
</ul>
<a name="onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusPresence</h4>
<pre>void&nbsp;onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives status presence updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StatusPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamPresence</h4>
<pre>void&nbsp;onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives stream presence updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StreamPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamData-com.heroiclabs.nakama.StreamData-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onStreamData</h4>
<pre>void&nbsp;onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</pre>
<div class="block">Called when the client receives stream data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - Stream <code>StreamData</code> data received.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketListener.html" target="_top">Frames</a></li>
<li><a href="SocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Status (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Status (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Status.html" target="_top">Frames</a></li>
<li><a href="Status.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Status" class="title">Class Status</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Status</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Status</span>
extends java.lang.Object</pre>
<div class="block">Receive status updates for users.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The status events for the users followed.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The status events for the users followed.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Status.html" target="_top">Frames</a></li>
<li><a href="Status.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,318 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StatusPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StatusPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StatusPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StatusPresenceEvent" class="title">Class StatusPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StatusPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StatusPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A status update event about other users who've come online or gone offline.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who joined the server.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who joined the server.
This join information is in response to a subscription made to be notified when a user comes online.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the server.
This leave information is in response to a subscription made to be notified when a user goes offline.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StatusPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,331 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StatusUnfollowMessage (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StatusUnfollowMessage (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusUnfollowMessage.html" target="_top">Frames</a></li>
<li><a href="StatusUnfollowMessage.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StatusUnfollowMessage" class="title">Class StatusUnfollowMessage</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StatusUnfollowMessage</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StatusUnfollowMessage</span>
extends java.lang.Object</pre>
<div class="block">Unfollow one or more other users for status updates.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#StatusUnfollowMessage-java.util.List-">StatusUnfollowMessage</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;userIds)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#getUserIds--">getUserIds</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StatusUnfollowMessage-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StatusUnfollowMessage</h4>
<pre>public&nbsp;StatusUnfollowMessage(java.util.List&lt;java.lang.String&gt;&nbsp;userIds)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getUserIds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIds</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getUserIds()</pre>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusUnfollowMessage.html" target="_top">Frames</a></li>
<li><a href="StatusUnfollowMessage.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,430 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StorageObjectId (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StorageObjectId (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectId.html" target="_top">Frames</a></li>
<li><a href="StorageObjectId.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StorageObjectId" class="title">Class StorageObjectId</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StorageObjectId</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StorageObjectId</span>
extends java.lang.Object</pre>
<div class="block">An identifier for a storage object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#StorageObjectId-java.lang.String-">StorageObjectId</a></span>(java.lang.String&nbsp;collection)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getCollection--">getCollection</a></span>()</code>
<div class="block">The collection which stores the object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getKey--">getKey</a></span>()</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getUserId--">getUserId</a></span>()</code>
<div class="block">The user owner of the object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getVersion--">getVersion</a></span>()</code>
<div class="block">The version hash of the object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setKey-java.lang.String-">setKey</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setUserId-java.lang.String-">setUserId</a></span>(java.lang.String&nbsp;userId)</code>
<div class="block">The user owner of the object.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String&nbsp;version)</code>
<div class="block">The version hash of the object.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StorageObjectId-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StorageObjectId</h4>
<pre>public&nbsp;StorageObjectId(java.lang.String&nbsp;collection)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCollection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollection</h4>
<pre>public&nbsp;java.lang.String&nbsp;getCollection()</pre>
<div class="block">The collection which stores the object.</div>
</li>
</ul>
<a name="getKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;java.lang.String&nbsp;getKey()</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public&nbsp;java.lang.String&nbsp;getVersion()</pre>
<div class="block">The version hash of the object.</div>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<div class="block">The user owner of the object.</div>
</li>
</ul>
<a name="setKey-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKey</h4>
<pre>public&nbsp;void&nbsp;setKey(java.lang.String&nbsp;key)</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="setVersion-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersion</h4>
<pre>public&nbsp;void&nbsp;setVersion(java.lang.String&nbsp;version)</pre>
<div class="block">The version hash of the object.</div>
</li>
</ul>
<a name="setUserId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserId</h4>
<pre>public&nbsp;void&nbsp;setUserId(java.lang.String&nbsp;userId)</pre>
<div class="block">The user owner of the object.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectId.html" target="_top">Frames</a></li>
<li><a href="StorageObjectId.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,438 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StorageObjectWrite (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StorageObjectWrite (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectWrite.html" target="_top">Frames</a></li>
<li><a href="StorageObjectWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StorageObjectWrite" class="title">Class StorageObjectWrite</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StorageObjectWrite</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StorageObjectWrite</span>
extends java.lang.Object</pre>
<div class="block">An identifier and values for a storage object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#StorageObjectWrite-java.lang.String-java.lang.String-java.lang.String-com.heroiclabs.nakama.PermissionRead-com.heroiclabs.nakama.PermissionWrite-">StorageObjectWrite</a></span>(java.lang.String&nbsp;collection,
java.lang.String&nbsp;key,
java.lang.String&nbsp;value,
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;permissionRead,
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;permissionWrite)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getCollection--">getCollection</a></span>()</code>
<div class="block">The collection which stores the object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getKey--">getKey</a></span>()</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getPermissionRead--">getPermissionRead</a></span>()</code>
<div class="block">Read permission of the object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getPermissionWrite--">getPermissionWrite</a></span>()</code>
<div class="block">Write permission of the object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getValue--">getValue</a></span>()</code>
<div class="block">The actual content of the object.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getVersion--">getVersion</a></span>()</code>
<div class="block">The version hash of the object to check against the server.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String&nbsp;version)</code>
<div class="block">The version hash of the object to check against the server.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StorageObjectWrite-java.lang.String-java.lang.String-java.lang.String-com.heroiclabs.nakama.PermissionRead-com.heroiclabs.nakama.PermissionWrite-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StorageObjectWrite</h4>
<pre>public&nbsp;StorageObjectWrite(java.lang.String&nbsp;collection,
java.lang.String&nbsp;key,
java.lang.String&nbsp;value,
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;permissionRead,
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;permissionWrite)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCollection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollection</h4>
<pre>public&nbsp;java.lang.String&nbsp;getCollection()</pre>
<div class="block">The collection which stores the object.</div>
</li>
</ul>
<a name="getKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;java.lang.String&nbsp;getKey()</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.lang.String&nbsp;getValue()</pre>
<div class="block">The actual content of the object. Must be JSON.</div>
</li>
</ul>
<a name="getPermissionRead--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPermissionRead</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;getPermissionRead()</pre>
<div class="block">Read permission of the object.</div>
</li>
</ul>
<a name="getPermissionWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPermissionWrite</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;getPermissionWrite()</pre>
<div class="block">Write permission of the object.</div>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public&nbsp;java.lang.String&nbsp;getVersion()</pre>
<div class="block">The version hash of the object to check against the server.</div>
</li>
</ul>
<a name="setVersion-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersion</h4>
<pre>public&nbsp;void&nbsp;setVersion(java.lang.String&nbsp;version)</pre>
<div class="block">The version hash of the object to check against the server.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectWrite.html" target="_top">Frames</a></li>
<li><a href="StorageObjectWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+348
View File
@@ -0,0 +1,348 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Stream (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Stream (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Stream" class="title">Class Stream</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Stream</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Stream</span>
extends java.lang.Object</pre>
<div class="block">A realtime socket stream on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getDescriptor--">getDescriptor</a></span>()</code>
<div class="block">The descriptor of the stream.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getLabel--">getLabel</a></span>()</code>
<div class="block">Identifies streams which have a context across users like a chat channel room.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getMode--">getMode</a></span>()</code>
<div class="block">The mode of the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getSubject--">getSubject</a></span>()</code>
<div class="block">The subject of the stream.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDescriptor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public&nbsp;java.lang.String&nbsp;getDescriptor()</pre>
<div class="block">The descriptor of the stream. Used with direct chat messages and contains a second user id.</div>
</li>
</ul>
<a name="getLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLabel()</pre>
<div class="block">Identifies streams which have a context across users like a chat channel room.</div>
</li>
</ul>
<a name="getMode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMode</h4>
<pre>public&nbsp;int&nbsp;getMode()</pre>
<div class="block">The mode of the stream.</div>
</li>
</ul>
<a name="getSubject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubject</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubject()</pre>
<div class="block">The subject of the stream. This is usually a user id.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+348
View File
@@ -0,0 +1,348 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StreamData (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamData (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamData.html" target="_top">Frames</a></li>
<li><a href="StreamData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StreamData" class="title">Class StreamData</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StreamData</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StreamData</span>
extends java.lang.Object</pre>
<div class="block">A state change received from a stream.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getData--">getData</a></span>()</code>
<div class="block">The contents of the state change.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getSender--">getSender</a></span>()</code>
<div class="block">The user who sent the state change.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getStream--">getStream</a></span>()</code>
<div class="block">The identifier for the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#isReliable--">isReliable</a></span>()</code>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getSender--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSender</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSender()</pre>
<div class="block">The user who sent the state change. May be <c>null</c>.</div>
</li>
</ul>
<a name="getData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getData()</pre>
<div class="block">The contents of the state change.</div>
</li>
</ul>
<a name="getStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStream</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a>&nbsp;getStream()</pre>
<div class="block">The identifier for the stream.</div>
</li>
</ul>
<a name="isReliable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReliable</h4>
<pre>public&nbsp;boolean&nbsp;isReliable()</pre>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamData.html" target="_top">Frames</a></li>
<li><a href="StreamData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,334 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StreamPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StreamPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StreamPresenceEvent" class="title">Class StreamPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StreamPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StreamPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of joins and leaves on the low level stream.
Streams are built on to provide abstractions for matches, chat channels, etc. In most cases you'll never need to
interact with the low level stream itself.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who left the stream.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who joined the stream.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getStream--">getStream</a></span>()</code>
<div class="block">The identifier for the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who joined the stream.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who left the stream.</div>
</li>
</ul>
<a name="getStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStream</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a>&nbsp;getStream()</pre>
<div class="block">The identifier for the stream.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StreamPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,480 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>UserPresence (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserPresence (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/UserPresence.html" target="_top">Frames</a></li>
<li><a href="UserPresence.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class UserPresence" class="title">Class UserPresence</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.UserPresence</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">UserPresence</span>
extends java.lang.Object</pre>
<div class="block">An object which represents a connected user in the server.
The server allows the same user to be connected with multiple sessions. To uniquely identify them a tuple of
{ user_id, session_id } is used which is exposed as this object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#UserPresence--">UserPresence</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getSessionId--">getSessionId</a></span>()</code>
<div class="block">The session id of the user.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getStatus--">getStatus</a></span>()</code>
<div class="block">The status of the user with the presence on the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getUserId--">getUserId</a></span>()</code>
<div class="block">The id of the user.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getUsername--">getUsername</a></span>()</code>
<div class="block">The username for the user.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#isPersistence--">isPersistence</a></span>()</code>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setPersistence-boolean-">setPersistence</a></span>(boolean&nbsp;persistence)</code>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setSessionId-java.lang.String-">setSessionId</a></span>(java.lang.String&nbsp;sessionId)</code>
<div class="block">The session id of the user.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setStatus-java.lang.String-">setStatus</a></span>(java.lang.String&nbsp;status)</code>
<div class="block">The status of the user with the presence on the server.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setUserId-java.lang.String-">setUserId</a></span>(java.lang.String&nbsp;userId)</code>
<div class="block">The id of the user.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setUsername-java.lang.String-">setUsername</a></span>(java.lang.String&nbsp;username)</code>
<div class="block">The username for the user.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UserPresence--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UserPresence</h4>
<pre>public&nbsp;UserPresence()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isPersistence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistence</h4>
<pre>public&nbsp;boolean&nbsp;isPersistence()</pre>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</li>
</ul>
<a name="getSessionId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSessionId()</pre>
<div class="block">The session id of the user.</div>
</li>
</ul>
<a name="getStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatus</h4>
<pre>public&nbsp;java.lang.String&nbsp;getStatus()</pre>
<div class="block">The status of the user with the presence on the server.</div>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<div class="block">The username for the user.</div>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<div class="block">The id of the user.</div>
</li>
</ul>
<a name="setPersistence-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPersistence</h4>
<pre>public&nbsp;void&nbsp;setPersistence(boolean&nbsp;persistence)</pre>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</li>
</ul>
<a name="setSessionId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionId</h4>
<pre>public&nbsp;void&nbsp;setSessionId(java.lang.String&nbsp;sessionId)</pre>
<div class="block">The session id of the user.</div>
</li>
</ul>
<a name="setStatus-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStatus</h4>
<pre>public&nbsp;void&nbsp;setStatus(java.lang.String&nbsp;status)</pre>
<div class="block">The status of the user with the presence on the server.</div>
</li>
</ul>
<a name="setUsername-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsername</h4>
<pre>public&nbsp;void&nbsp;setUsername(java.lang.String&nbsp;username)</pre>
<div class="block">The username for the user.</div>
</li>
</ul>
<a name="setUserId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserId</h4>
<pre>public&nbsp;void&nbsp;setUserId(java.lang.String&nbsp;userId)</pre>
<div class="block">The id of the user.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/UserPresence.html" target="_top">Frames</a></li>
<li><a href="UserPresence.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,59 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../../com/heroiclabs/nakama/package-summary.html" target="classFrame">com.heroiclabs.nakama</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="Client.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Client</span></a></li>
<li><a href="Session.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Session</span></a></li>
<li><a href="SocketClient.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="SocketListener.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketListener</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="AbstractSocketListener.html" title="class in com.heroiclabs.nakama" target="classFrame">AbstractSocketListener</a></li>
<li><a href="Channel.html" title="class in com.heroiclabs.nakama" target="classFrame">Channel</a></li>
<li><a href="ChannelMessageAck.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelMessageAck</a></li>
<li><a href="ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelPresenceEvent</a></li>
<li><a href="DefaultClient.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultClient</a></li>
<li><a href="DefaultSession.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultSession</a></li>
<li><a href="GsonDateDeserializer.html" title="class in com.heroiclabs.nakama" target="classFrame">GsonDateDeserializer</a></li>
<li><a href="Match.html" title="class in com.heroiclabs.nakama" target="classFrame">Match</a></li>
<li><a href="MatchData.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchData</a></li>
<li><a href="MatchmakerMatched.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerMatched</a></li>
<li><a href="MatchmakerTicket.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerTicket</a></li>
<li><a href="MatchmakerUser.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerUser</a></li>
<li><a href="MatchPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchPresenceEvent</a></li>
<li><a href="Status.html" title="class in com.heroiclabs.nakama" target="classFrame">Status</a></li>
<li><a href="StatusPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusPresenceEvent</a></li>
<li><a href="StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusUnfollowMessage</a></li>
<li><a href="StorageObjectId.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectId</a></li>
<li><a href="StorageObjectWrite.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectWrite</a></li>
<li><a href="Stream.html" title="class in com.heroiclabs.nakama" target="classFrame">Stream</a></li>
<li><a href="StreamData.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamData</a></li>
<li><a href="StreamPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamPresenceEvent</a></li>
<li><a href="UserPresence.html" title="class in com.heroiclabs.nakama" target="classFrame">UserPresence</a></li>
<li><a href="WebSocketClient.html" title="class in com.heroiclabs.nakama" target="classFrame">WebSocketClient</a></li>
</ul>
<h2 title="Enums">Enums</h2>
<ul title="Enums">
<li><a href="ChannelType.html" title="enum in com.heroiclabs.nakama" target="classFrame">ChannelType</a></li>
<li><a href="Error.ErrorCode.html" title="enum in com.heroiclabs.nakama" target="classFrame">Error.ErrorCode</a></li>
<li><a href="PermissionRead.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionRead</a></li>
<li><a href="PermissionWrite.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionWrite</a></li>
</ul>
<h2 title="Exceptions">Exceptions</h2>
<ul title="Exceptions">
<li><a href="Error.html" title="class in com.heroiclabs.nakama" target="classFrame">Error</a></li>
</ul>
</div>
</body>
</html>
@@ -0,0 +1,358 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.heroiclabs.nakama (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;com.heroiclabs.nakama</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a></td>
<td class="colLast">
<div class="block">A client to interact with Nakama server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></td>
<td class="colLast">
<div class="block">A session used with requests sent to Nakama server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a></td>
<td class="colLast">
<div class="block">A socket connection to the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></td>
<td class="colLast">
<div class="block">A listener for receiving <code>Client</code> events.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></td>
<td class="colLast">
<div class="block">A listener for receiving <code>Client</code> events.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a></td>
<td class="colLast">
<div class="block">A chat channel on the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a></td>
<td class="colLast">
<div class="block">An acknowledgement from the server when a chat message is delivered to a channel.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of join and leave presences on a chat channel.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama">DefaultClient</a></td>
<td class="colLast">
<div class="block">Default implementation of Client interface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></td>
<td class="colLast">
<div class="block">Default implementation of Session interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama">GsonDateDeserializer</a></td>
<td class="colLast">
<div class="block">A custom Date serializer to indicate to GSON that it is receiving UTC timestamps.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a></td>
<td class="colLast">
<div class="block">A multiplayer match.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a></td>
<td class="colLast">
<div class="block">Some game state update in a match.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a></td>
<td class="colLast">
<div class="block">The result of a successful matchmaker operation sent to the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a></td>
<td class="colLast">
<div class="block">The matchmaker ticket received from the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></td>
<td class="colLast">
<div class="block">The user with the parameters they sent to the server when asking for opponents.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of join and leave presences for a match.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a></td>
<td class="colLast">
<div class="block">Receive status updates for users.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a></td>
<td class="colLast">
<div class="block">A status update event about other users who've come online or gone offline.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama">StatusUnfollowMessage</a></td>
<td class="colLast">
<div class="block">Unfollow one or more other users for status updates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama">StorageObjectId</a></td>
<td class="colLast">
<div class="block">An identifier for a storage object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama">StorageObjectWrite</a></td>
<td class="colLast">
<div class="block">An identifier and values for a storage object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></td>
<td class="colLast">
<div class="block">A realtime socket stream on the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a></td>
<td class="colLast">
<div class="block">A state change received from a stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of joins and leaves on the low level stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></td>
<td class="colLast">
<div class="block">An object which represents a connected user in the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></td>
<td class="colLast">
<div class="block">WebSocket implementation of Socket interface.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></td>
<td class="colLast">
<div class="block">The available channel types on the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></td>
<td class="colLast">
<div class="block">The error code for the problem.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></td>
<td class="colLast">
<div class="block">Storage read permissions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></td>
<td class="colLast">
<div class="block">Storage write permissions.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></td>
<td class="colLast">
<div class="block">An error caused from an operation with the server.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,181 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama Class Hierarchy (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.heroiclabs.nakama Class Hierarchy (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package com.heroiclabs.nakama</h1>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">AbstractSocketListener</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Channel</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelMessageAck</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultClient</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultSession</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">GsonDateDeserializer</span></a> (implements com.google.gson.JsonDeserializer&lt;T&gt;)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Match</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerMatched</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerTicket</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerUser</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Status</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusUnfollowMessage</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectId</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Stream</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamPresenceEvent</span></a></li>
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
<ul>
<li type="circle">java.lang.Exception
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Error</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">UserPresence</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">WebSocketClient</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a>)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Client</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Session</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketClient</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketListener</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionRead</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Error.ErrorCode</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">ChannelType</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionWrite</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+155
View File
@@ -0,0 +1,155 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#com.heroiclabs">com.heroiclabs.*</a></li>
</ul>
</div>
<div class="constantValuesContainer"><a name="com.heroiclabs">
<!-- -->
</a>
<h2 title="com.heroiclabs">com.heroiclabs.*</h2>
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="com.heroiclabs.nakama.WebSocketClient.DEFAULT_PING_MS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="com/heroiclabs/nakama/WebSocketClient.html#DEFAULT_PING_MS">DEFAULT_PING_MS</a></code></td>
<td class="colLast"><code>5000</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.heroiclabs.nakama.WebSocketClient.DEFAULT_TIMEOUT_MS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="com/heroiclabs/nakama/WebSocketClient.html#DEFAULT_TIMEOUT_MS">DEFAULT_TIMEOUT_MS</a></code></td>
<td class="colLast"><code>5000</code></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+119
View File
@@ -0,0 +1,119 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+216
View File
@@ -0,0 +1,216 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>API Help (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">How This API Document Is Organized</h1>
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<h2>Package</h2>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
<ul>
<li>Interfaces (italic)</li>
<li>Classes</li>
<li>Enums</li>
<li>Exceptions</li>
<li>Errors</li>
<li>Annotation Types</li>
</ul>
</li>
<li class="blockList">
<h2>Class/Interface</h2>
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
<ul>
<li>Class inheritance diagram</li>
<li>Direct Subclasses</li>
<li>All Known Subinterfaces</li>
<li>All Known Implementing Classes</li>
<li>Class/interface declaration</li>
<li>Class/interface description</li>
</ul>
<ul>
<li>Nested Class Summary</li>
<li>Field Summary</li>
<li>Constructor Summary</li>
<li>Method Summary</li>
</ul>
<ul>
<li>Field Detail</li>
<li>Constructor Detail</li>
<li>Method Detail</li>
</ul>
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
</li>
<li class="blockList">
<h2>Annotation Type</h2>
<p>Each annotation type has its own separate page with the following sections:</p>
<ul>
<li>Annotation Type declaration</li>
<li>Annotation Type description</li>
<li>Required Element Summary</li>
<li>Optional Element Summary</li>
<li>Element Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Enum</h2>
<p>Each enum has its own separate page with the following sections:</p>
<ul>
<li>Enum declaration</li>
<li>Enum description</li>
<li>Enum Constant Summary</li>
<li>Enum Constant Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Tree (Class Hierarchy)</h2>
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
<ul>
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
</ul>
</li>
<li class="blockList">
<h2>Deprecated API</h2>
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
</li>
<li class="blockList">
<h2>Index</h2>
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
<p>These links take you to the next or previous class, interface, package, or related page.</p>
</li>
<li class="blockList">
<h2>Frames/No Frames</h2>
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
</li>
<li class="blockList">
<h2>All Classes</h2>
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
</li>
<li class="blockList">
<h2>Serialized Form</h2>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
</li>
<li class="blockList">
<h2>Constant Field Values</h2>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</li>
</ul>
<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+2402
View File
File diff suppressed because it is too large. Load diff
+72
View File
@@ -0,0 +1,72 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>nakama-java 2.1.1 API</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
tmpTargetPage = tmpTargetPage.substring(1);
if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
tmpTargetPage = "undefined";
targetPage = tmpTargetPage;
function validURL(url) {
try {
url = decodeURIComponent(url);
}
catch (error) {
return false;
}
var pos = url.indexOf(".html");
if (pos == -1 || pos != url.length - 5)
return false;
var allowNumber = false;
var allowSep = false;
var seenDot = false;
for (var i = 0; i < url.length - 5; i++) {
var ch = url.charAt(i);
if ('a' <= ch && ch <= 'z' ||
'A' <= ch && ch <= 'Z' ||
ch == '$' ||
ch == '_' ||
ch.charCodeAt(0) > 127) {
allowNumber = true;
allowSep = true;
} else if ('0' <= ch && ch <= '9'
|| ch == '-') {
if (!allowNumber)
return false;
} else if (ch == '/' || ch == '.') {
if (!allowSep)
return false;
allowNumber = false;
allowSep = false;
if (ch == '.')
seenDot = true;
if (ch == '/' && seenDot)
return false;
} else {
return false;
}
}
return true;
}
function loadFrames() {
if (targetPage != "" && targetPage != "undefined")
top.classFrame.location = top.targetPage;
}
</script>
</head>
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
<frame src="com/heroiclabs/nakama/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<noframes>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<h2>Frame Alert</h2>
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/heroiclabs/nakama/package-summary.html">Non-frame version</a>.</p>
</noframes>
</frameset>
</html>
+185
View File
@@ -0,0 +1,185 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Class Hierarchy (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For All Packages</h1>
<span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="com/heroiclabs/nakama/package-tree.html">com.heroiclabs.nakama</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">AbstractSocketListener</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Channel</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelMessageAck</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultClient</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultSession</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">GsonDateDeserializer</span></a> (implements com.google.gson.JsonDeserializer&lt;T&gt;)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Match</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerMatched</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerTicket</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerUser</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Status</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusUnfollowMessage</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectId</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Stream</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamPresenceEvent</span></a></li>
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
<ul>
<li type="circle">java.lang.Exception
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Error</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">UserPresence</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">WebSocketClient</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a>)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Client</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Session</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketClient</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketListener</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionRead</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">ChannelType</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Error.ErrorCode</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+1
View File
@@ -0,0 +1 @@
com.heroiclabs.nakama
+30
View File
@@ -0,0 +1,30 @@
function show(type)
{
count = 0;
for (var key in methods) {
var row = document.getElementById(key);
if ((methods[key] & type) != 0) {
row.style.display = '';
row.className = (count++ % 2) ? rowColor : altColor;
}
else
row.style.display = 'none';
}
updateTabs(type);
}
function updateTabs(type)
{
for (var value in tabs) {
var sNode = document.getElementById(tabs[value][0]);
var spanNode = sNode.firstChild;
if (value == type) {
sNode.className = activeTableTab;
spanNode.innerHTML = tabs[value][1];
}
else {
sNode.className = tableTab;
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
}
}
}
+132
View File
@@ -0,0 +1,132 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Serialized Form (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Serialized Form" class="title">Serialized Form</h1>
</div>
<div class="serializedFormContainer">
<ul class="blockList">
<li class="blockList">
<h2 title="Package">Package&nbsp;com.heroiclabs.nakama</h2>
<ul class="blockList">
<li class="blockList"><a name="com.heroiclabs.nakama.Error">
<!-- -->
</a>
<h3>Class <a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">com.heroiclabs.nakama.Error</a> extends java.lang.Exception implements Serializable</h3>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+574
View File
@@ -0,0 +1,574 @@
/* Javadoc style sheet */
/*
Overall document style
*/
@import url('resources/fonts/dejavu.css');
body {
background-color:#ffffff;
color:#353833;
font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
font-size:14px;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4A6782;
}
a:hover, a:focus {
text-decoration:none;
color:#bb7a2a;
}
a:active {
text-decoration:none;
color:#4A6782;
}
a[name] {
color:#353833;
}
a[name]:hover {
text-decoration:none;
color:#353833;
}
pre {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
}
h1 {
font-size:20px;
}
h2 {
font-size:18px;
}
h3 {
font-size:16px;
font-style:italic;
}
h4 {
font-size:13px;
}
h5 {
font-size:12px;
}
h6 {
font-size:11px;
}
ul {
list-style-type:disc;
}
code, tt {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
margin-top:8px;
line-height:1.4em;
}
dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
}
table tr td dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
vertical-align:top;
padding-top:4px;
}
sup {
font-size:8px;
}
/*
Document title and Copyright styles
*/
.clear {
clear:both;
height:0px;
overflow:hidden;
}
.aboutLanguage {
float:right;
padding:0px 21px;
font-size:11px;
z-index:200;
margin-top:-9px;
}
.legalCopy {
margin-left:.5em;
}
.bar a, .bar a:link, .bar a:visited, .bar a:active {
color:#FFFFFF;
text-decoration:none;
}
.bar a:hover, .bar a:focus {
color:#bb7a2a;
}
.tab {
background-color:#0066FF;
color:#ffffff;
padding:8px;
width:5em;
font-weight:bold;
}
/*
Navigation bar styles
*/
.bar {
background-color:#4D7A97;
color:#FFFFFF;
padding:.8em .5em .4em .8em;
height:auto;/*height:1.8em;*/
font-size:11px;
margin:0;
}
.topNav {
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.bottomNav {
margin-top:10px;
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.subNav {
background-color:#dee3e9;
float:left;
width:100%;
overflow:hidden;
font-size:12px;
}
.subNav div {
clear:left;
float:left;
padding:0 0 5px 6px;
text-transform:uppercase;
}
ul.navList, ul.subNavList {
float:left;
margin:0 25px 0 0;
padding:0;
}
ul.navList li{
list-style:none;
float:left;
padding: 5px 6px;
text-transform:uppercase;
}
ul.subNavList li{
list-style:none;
float:left;
}
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
color:#FFFFFF;
text-decoration:none;
text-transform:uppercase;
}
.topNav a:hover, .bottomNav a:hover {
text-decoration:none;
color:#bb7a2a;
text-transform:uppercase;
}
.navBarCell1Rev {
background-color:#F8981D;
color:#253441;
margin: auto 5px;
}
.skipNav {
position:absolute;
top:auto;
left:-9999px;
overflow:hidden;
}
/*
Page header and footer styles
*/
.header, .footer {
clear:both;
margin:0 20px;
padding:5px 0 0 0;
}
.indexHeader {
margin:10px;
position:relative;
}
.indexHeader span{
margin-right:15px;
}
.indexHeader h1 {
font-size:13px;
}
.title {
color:#2c4557;
margin:10px 0;
}
.subTitle {
margin:5px 0 0 0;
}
.header ul {
margin:0 0 15px 0;
padding:0;
}
.footer ul {
margin:20px 0 5px 0;
}
.header ul li, .footer ul li {
list-style:none;
font-size:13px;
}
/*
Heading styles
*/
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList li.blockList h3 {
padding:0;
margin:15px 0;
}
ul.blockList li.blockList h2 {
padding:0px 0 20px 0;
}
/*
Page layout container styles
*/
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
clear:both;
padding:10px 20px;
position:relative;
}
.indexContainer {
margin:10px;
position:relative;
font-size:12px;
}
.indexContainer h2 {
font-size:13px;
padding:0 0 3px 0;
}
.indexContainer ul {
margin:0;
padding:0;
}
.indexContainer ul li {
list-style:none;
padding-top:2px;
}
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
font-size:12px;
font-weight:bold;
margin:10px 0 0 0;
color:#4E4E4E;
}
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
margin:5px 0 10px 0px;
font-size:14px;
font-family:'DejaVu Sans Mono',monospace;
}
.serializedFormContainer dl.nameValue dt {
margin-left:1px;
font-size:1.1em;
display:inline;
font-weight:bold;
}
.serializedFormContainer dl.nameValue dd {
margin:0 0 0 1px;
font-size:1.1em;
display:inline;
}
/*
List styles
*/
ul.horizontal li {
display:inline;
font-size:0.9em;
}
ul.inheritance {
margin:0;
padding:0;
}
ul.inheritance li {
display:inline;
list-style:none;
}
ul.inheritance li ul.inheritance {
margin-left:15px;
padding-left:15px;
padding-top:1px;
}
ul.blockList, ul.blockListLast {
margin:10px 0 10px 0;
padding:0;
}
ul.blockList li.blockList, ul.blockListLast li.blockList {
list-style:none;
margin-bottom:15px;
line-height:1.4;
}
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
padding:0px 20px 5px 10px;
border:1px solid #ededed;
background-color:#f8f8f8;
}
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
padding:0 0 5px 8px;
background-color:#ffffff;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
margin-left:0;
padding-left:0;
padding-bottom:15px;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
list-style:none;
border-bottom:none;
padding-bottom:0;
}
table tr td dl, table tr td dl dt, table tr td dl dd {
margin-top:0;
margin-bottom:1px;
}
/*
Table styles
*/
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
width:100%;
border-left:1px solid #EEE;
border-right:1px solid #EEE;
border-bottom:1px solid #EEE;
}
.overviewSummary, .memberSummary {
padding:0px;
}
.overviewSummary caption, .memberSummary caption, .typeSummary caption,
.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
position:relative;
text-align:left;
background-repeat:no-repeat;
color:#253441;
font-weight:bold;
clear:none;
overflow:hidden;
padding:0px;
padding-top:10px;
padding-left:1px;
margin:0px;
white-space:pre;
}
.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
color:#FFFFFF;
}
.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
padding-bottom:7px;
display:inline-block;
float:left;
background-color:#F8981D;
border: none;
height:16px;
}
.memberSummary caption span.activeTableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#F8981D;
height:16px;
}
.memberSummary caption span.tableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#4D7A97;
height:16px;
}
.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
padding-top:0px;
padding-left:0px;
padding-right:0px;
background-image:none;
float:none;
display:inline;
}
.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
display:none;
width:5px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .activeTableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .tableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
background-color:#4D7A97;
float:left;
}
.overviewSummary td, .memberSummary td, .typeSummary td,
.useSummary td, .constantsSummary td, .deprecatedSummary td {
text-align:left;
padding:0px 0px 12px 10px;
}
th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
vertical-align:top;
padding-right:0px;
padding-top:8px;
padding-bottom:3px;
}
th.colFirst, th.colLast, th.colOne, .constantsSummary th {
background:#dee3e9;
text-align:left;
padding:8px 3px 3px 7px;
}
td.colFirst, th.colFirst {
white-space:nowrap;
font-size:13px;
}
td.colLast, th.colLast {
font-size:13px;
}
td.colOne, th.colOne {
font-size:13px;
}
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
.useSummary td.colFirst, .useSummary th.colFirst,
.overviewSummary td.colOne, .overviewSummary th.colOne,
.memberSummary td.colFirst, .memberSummary th.colFirst,
.memberSummary td.colOne, .memberSummary th.colOne,
.typeSummary td.colFirst{
width:25%;
vertical-align:top;
}
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
font-weight:bold;
}
.tableSubHeadingColor {
background-color:#EEEEFF;
}
.altColor {
background-color:#FFFFFF;
}
.rowColor {
background-color:#EEEEEF;
}
/*
Content styles
*/
.description pre {
margin-top:0;
}
.deprecatedContent {
margin:0;
padding:10px 0;
}
.docSummary {
padding:0;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
font-style:normal;
}
div.block {
font-size:14px;
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
}
td.colLast div {
padding-top:0px;
}
td.colLast a {
padding-bottom:3px;
}
/*
Formatting effect styles
*/
.sourceLineNo {
color:green;
padding:0 30px 0 0;
}
h1.hidden {
visibility:hidden;
overflow:hidden;
font-size:10px;
}
.block {
display:block;
margin:3px 10px 2px 0px;
color:#474747;
}
.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
font-weight:bold;
}
.deprecationComment, .emphasizedPhrase, .interfaceName {
font-style:italic;
}
div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
div.block div.block span.interfaceName {
font-style:normal;
}
div.contentContainer ul.blockList li.blockList h2{
padding-bottom:0px;
}
+19 -1
View File
@@ -17,9 +17,21 @@
# This command is a utility for downloading all .proto files required
# for making full source builds.
TOKEN=$1
# Check if TOKEN is empty
if [ -z "$TOKEN" ]
then
echo "Error: GitHub personal access token is missing. Please pass the token as a parameter."
exit 1
fi
GRPC_GATEWAY_COMMIT=5c1639cccb7d6abc747643ed07321b0052b809d5
NAKAMA_COMMON_COMMIT=b013ccdfa0be37f97c716a477409dfe935b111f7
NAKAMA_COMMIT=ec12afadd940cd779f5b1acadc0faf33ed9fa94c
PROTOBUF_COMMIT=dfab275eca9481b5de31122db6fc91b31db3382a
SATORI_COMMIT=111239fbd9a132aad346a1c6eeafae2550c23667
DOMAIN=https://raw.githubusercontent.com
@@ -28,6 +40,10 @@ ANNOTATION_URL=${DOMAIN}/grpc-ecosystem/grpc-gateway/${GRPC_GATEWAY_COMMIT}/prot
API_URL=${DOMAIN}/heroiclabs/nakama-common/${NAKAMA_COMMON_COMMIT}/api/api.proto
REALTIME_URL=${DOMAIN}/heroiclabs/nakama-common/${NAKAMA_COMMON_COMMIT}/rtapi/realtime.proto
APIGRPC_URL=${DOMAIN}/heroiclabs/nakama/${NAKAMA_COMMIT}/apigrpc/apigrpc.proto
SATORI_APIGRPC_URL=${DOMAIN}/heroiclabs/satori/${SATORI_COMMIT}/api/satori.proto
### java proto-lite does not contain descriptor.proto
DESCRIPTOR_URL=${DOMAIN}/protocolbuffers/protobuf/${PROTOBUF_COMMIT}/src/google/protobuf/descriptor.proto
ROOT_DIR=src/main/proto
NAKAMA_COMMON_DIR=github.com/heroiclabs/nakama-common/api
@@ -37,4 +53,6 @@ curl $OPENAPI_URL -o ${ROOT_DIR}/${SWAGGER_GEN_DIR}/openapiv2.proto
curl $ANNOTATION_URL -o ${ROOT_DIR}/${SWAGGER_GEN_DIR}/annotations.proto
curl $API_URL -o ${ROOT_DIR}/${NAKAMA_COMMON_DIR}/api.proto
curl $REALTIME_URL -o ${ROOT_DIR}/${NAKAMA_COMMON_DIR}/realtime.proto
curl $APIGRPC_URL -o src/main/proto/apigrpc.proto
curl $APIGRPC_URL -o ${ROOT_DIR}/apigrpc.proto
curl $DESCRIPTOR_URL -o ${ROOT_DIR}/google/protobuf/descriptor.proto
curl -H "Authorization: token $TOKEN" $SATORI_APIGRPC_URL -o ${ROOT_DIR}/satori.proto
+29 -10
View File
@@ -25,13 +25,13 @@ repositories {
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.0"
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
applicationId "com.example.androidnakama"
minSdkVersion 30
targetSdkVersion 30
minSdkVersion 29
targetSdkVersion 29
versionCode 1
versionName "1.0"
@@ -46,11 +46,12 @@ android {
}
}
configurations {
implementation.exclude module:'proto-google-common-protos'
implementation.exclude module:'protolite-well-known-types'
implementation.exclude module:'protobuf-lite'
implementation.exclude module:'protobuf-java'
ext{
versionFirebaseCrashlytics = "17.3.0"
versionFirebaseBom = "26.2.0"
versionNakama = "08587dcdecc18efce0a0592451f81b31af59bb42"
versionProtobuf = "3.13.0"
versionPlayAuth = "19.0.0"
}
dependencies {
@@ -59,7 +60,25 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.github.heroiclabs.nakama-java:nakama-java:dde7330adfa1867881dc6c6c6e27c1176512c916'
implementation "com.github.heroiclabs.nakama-java:nakama-java:${versionNakama}"
// fat JAR
// implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:dde7330adfa1867881dc6c6c6e27c1176512c916'
// Import the BoM for the Firebase platform
implementation platform("com.google.firebase:firebase-bom:26.2.0")
// Firebase
// Import the BoM for the Firebase platform
implementation platform("com.google.firebase:firebase-bom:${versionFirebaseBom}")
// Declare the dependencies for the Remote Config and Analytics libraries
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-config-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-crashlytics-ndk'
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.google.firebase:firebase-auth'
implementation "com.google.android.gms:play-services-auth:${versionPlayAuth}"
}
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.testandroid">
package="com.example.nakama_java_test_android">
<application
android:allowBackup="true"
@@ -7,6 +7,14 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme" />
</manifest>
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
@@ -1,56 +0,0 @@
/*
* Copyright 2020 The Nakama Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.util.concurrent.*;
import com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.*;
// fat jar
// import nakama.com.google.common.util.concurrent.*;
public class Main {
public static void main(String[] args) {
DefaultClient client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
final ExecutorService executor = Executors.newSingleThreadExecutor();
try {
String email = "[email protected]";
String password = "batsignal";
Futures.addCallback(client.authenticateEmail(email, password), new FutureCallback<Session>() {
@Override
public void onSuccess(final Session result) {
System.out.println("got session: " + result.getAuthToken());
executor.shutdown();
}
@Override
public void onFailure(final Throwable throwable) {
System.out.println(throwable.getMessage());
executor.shutdown();
}
}, executor);
}
catch (Exception e) {
System.out.println(e.getMessage());
}
try {
executor.awaitTermination(5, TimeUnit.SECONDS);
} catch (InterruptedException e) {
System.out.println(e.getMessage());
}
}
}
@@ -0,0 +1,76 @@
/*
* Copyright 2020 The Nakama Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.example.nakama_java_test_android;
import java.util.concurrent.*;
import com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.DefaultClient;
import com.heroiclabs.nakama.Session;
import com.heroiclabs.nakama.api.Account;
import android.app.*;
import android.os.Bundle;
import android.util.*;
// fat jar
// import nakama.com.google.common.util.concurrent.*;
public class MainActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
final DefaultClient client = new DefaultClient("defaultkey", "10.0.2.2", 7349, false);
final ExecutorService executor = Executors.newSingleThreadExecutor();
String email = "[email protected]";
String password = "batsignal";
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
public ListenableFuture<Account> apply(Session session) {
return client.getAccount(session);
}
};
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
@Override
public void onSuccess(Account account) {
System.out.println("Got account: " + account.getUser().getId());
executor.shutdown();
}
@Override
public void onFailure(Throwable e) {
System.out.println(e.getMessage());
executor.shutdown();
}
}, executor);
try {
executor.awaitTermination(5, TimeUnit.SECONDS);
} catch (InterruptedException e) {
System.out.println(e.getMessage());
}
}
}
+1 -1
View File
@@ -21,7 +21,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.0"
classpath 'com.android.tools.build:gradle:4.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -1,6 +1,6 @@
#Wed Sep 30 08:51:05 EDT 2020
#Mon Mar 15 08:33:52 EDT 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
+1
View File
@@ -0,0 +1 @@
To run this example, run ./gradlew run.
+1 -1
View File
@@ -35,7 +35,7 @@ repositories {
}
dependencies {
implementation 'com.github.heroiclabs.nakama-java:nakama-java:dde7330adfa1867881dc6c6c6e27c1176512c916'
implementation 'com.github.heroiclabs.nakama-java:nakama-java:08587dcdecc18efce0a0592451f81b31af59bb42'
// fat Jar
// implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:dde7330adfa1867881dc6c6c6e27c1176512c916'
+32 -23
View File
@@ -15,40 +15,49 @@
*/
import java.util.concurrent.*;
import com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.DefaultClient;
import com.heroiclabs.nakama.Session;
import com.heroiclabs.nakama.api.Account;
// fat jar
// import nakama.com.google.common.util.concurrent.*;
import com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.*;
public class Main {
public static void main(String[] args) {
DefaultClient client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
ExecutorService executor = Executors.newSingleThreadExecutor();
try {
String email = "[email protected]";
String password = "batsignal";
Futures.addCallback(client.authenticateEmail(email, password), new FutureCallback<Session>() {
@Override
public void onSuccess(final Session result) {
System.out.println("got session: " + result.getAuthToken());
executor.shutdown();
}
@Override
public void onFailure(final Throwable throwable) {
System.out.println(throwable.getMessage());
executor.shutdown();
}
}, executor);
}
catch (Exception e) {
System.out.println(e.getMessage());
}
String email = "[email protected]";
String password = "batsignal";
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
public ListenableFuture<Account> apply(Session session) {
return client.getAccount(session);
}
};
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
@Override
public void onSuccess(Account account) {
System.out.println("Got account: " + account.getUser().getId());
executor.shutdown();
}
@Override
public void onFailure(Throwable e) {
System.out.println(e.getMessage());
executor.shutdown();
}
}, executor);
try {
executor.awaitTermination(5, TimeUnit.SECONDS);
executor.awaitTermination(5, TimeUnit.SECONDS);
} catch (InterruptedException e) {
System.out.println(e.getMessage());
}
+1
View File
@@ -0,0 +1 @@
To run this example, run `mvn compile` and then `mvn exec:java`.
+1 -34
View File
@@ -38,16 +38,10 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.heroiclabs.nakama-java</groupId>
<artifactId>nakama-java</artifactId>
<version>dde7330adfa1867881dc6c6c6e27c1176512c916</version>
<version>08587dcdecc18efce0a0592451f81b31af59bb42</version>
<type>jar</type>
</dependency>
<!-- fat jar
@@ -61,7 +55,6 @@
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -76,19 +69,10 @@
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
@@ -102,23 +86,6 @@
</configuration>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
@@ -16,9 +16,12 @@
import java.util.concurrent.*;
import com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.DefaultClient;
import com.heroiclabs.nakama.Session;
import com.heroiclabs.nakama.api.Account;
// fat jar
// import nakama.com.google.common.util.concurrent.*;
import com.heroiclabs.nakama.*;
public class Main {
@@ -26,28 +29,35 @@ public class Main {
DefaultClient client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
ExecutorService executor = Executors.newSingleThreadExecutor();
try {
String email = "[email protected]";
String password = "batsignal";
Futures.addCallback(client.authenticateEmail(email, password), new FutureCallback<Session>() {
@Override
public void onSuccess(final Session result) {
System.out.println("got session: " + result.getAuthToken());
executor.shutdown();
}
@Override
public void onFailure(final Throwable throwable) {
System.out.println(throwable.getMessage());
executor.shutdown();
}
}, executor);
}
catch (Exception e) {
System.out.println(e.getMessage());
}
String email = "[email protected]";
String password = "batsignal";
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
public ListenableFuture<Account> apply(Session session) {
return client.getAccount(session);
}
};
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
@Override
public void onSuccess(Account account) {
System.out.println("Got account: " + account.getUser().getId());
executor.shutdown();
}
@Override
public void onFailure(Throwable e) {
System.out.println(e.getMessage());
executor.shutdown();
}
}, executor);
try {
executor.awaitTermination(5, TimeUnit.SECONDS);
executor.awaitTermination(5, TimeUnit.SECONDS);
} catch (InterruptedException e) {
System.out.println(e.getMessage());
}
@@ -1,36 +0,0 @@
/*
* Copyright 2020 The Nakama Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.heroiclabs;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.heroiclabs.nakama.*;
/**
* Unit test for simple App.
*/
public class AppTest
{
/**
* Rigorous Test :-)
*/
@Test
public void shouldAnswerWithTrue()
{
assertTrue( true );
}
}
Binary file not shown.
+3 -1
View File
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+179 -114
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
#!/bin/sh
#
# Copyright 2015 the original author or authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,78 +17,110 @@
#
##############################################################################
##
## Gradle start up script for UN*X
##
#
# Gradle start up script for POSIX generated by Gradle.
#
# Important for running:
#
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
# noncompliant, but you have some other compliant shell such as ksh or
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh Gradle
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
# (2) This script targets any POSIX shell, so it avoids extensions provided
# by Bash, Ksh, etc; in particular arrays are avoided.
#
# The "traditional" practice of packing multiple parameters into a
# space-separated string is a well documented source of bugs and security
# problems, so this is (mostly) avoided, by progressively accumulating
# options in "$@", and eventually passing that to Java.
#
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
# see the in-line comments for details.
#
# There are tweaks for specific operating systems such as AIX, CygWin,
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
#
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
app_path=$0
# Need this for daisy-chained symlinks.
while
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
[ -h "$app_path" ]
do
ls=$( ls -ld "$app_path" )
link=${ls#*' -> '}
case $link in #(
/*) app_path=$link ;; #(
*) app_path=$APP_HOME$link ;;
esac
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
MAX_FD=maximum
warn () {
echo "$*"
}
} >&2
die () {
echo
echo "$*"
echo
exit 1
}
} >&2
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
case "$( uname )" in #(
CYGWIN* ) cygwin=true ;; #(
Darwin* ) darwin=true ;; #(
MSYS* | MINGW* ) msys=true ;; #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD="$JAVA_HOME/bin/java"
JAVACMD=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
@@ -97,87 +129,120 @@ Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=`expr $i + 1`
done
case $i in
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=`save "$@"`
# Collect all arguments for the java command, stacking in reverse order:
# * args from the command line
# * the main class name
# * -classpath
# * -D...appname settings
# * --module-path (only if needed)
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
# Now convert the arguments - kludge to limit ourselves to /bin/sh
for arg do
if
case $arg in #(
-*) false ;; # don't mess with options #(
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
[ -e "$t" ] ;; #(
*) false ;;
esac
then
arg=$( cygpath --path --ignore --mixed "$arg" )
fi
# Roll the args list around exactly as many times as the number of
# args, so each arg winds up back in the position where it started, but
# possibly modified.
#
# NB: a `for` loop captures its iteration list before it begins, so
# changing the positional parameters here affects neither the number of
# iterations, nor the values presented in `arg`.
shift # remove old arg
set -- "$@" "$arg" # push replacement arg
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
#
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
# set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
# the whole thing up as a single "set" statement.
#
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#
eval "set -- $(
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
xargs -n1 |
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
tr '\n' ' '
)" '"$@"'
exec "$JAVACMD" "$@"
Vendored
+15 -23
View File
@@ -14,7 +14,7 @@
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@@ -25,10 +25,14 @@
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@@ -37,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -51,7 +55,7 @@ goto fail
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -61,38 +65,26 @@ echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
+2
View File
@@ -0,0 +1,2 @@
# This file is generated by the 'io.freefair.lombok' Gradle plugin
config.stopBubbling = true
@@ -0,0 +1,909 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Author: [email protected] (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
//
// The messages in this file describe the definitions found in .proto files.
// A valid .proto file can be translated directly to a FileDescriptorProto
// without any other information (e.g. without reading its imports).
syntax = "proto2";
package google.protobuf;
option go_package = "google.golang.org/protobuf/types/descriptorpb";
option java_package = "com.google.protobuf";
option java_outer_classname = "DescriptorProtos";
option csharp_namespace = "Google.Protobuf.Reflection";
option objc_class_prefix = "GPB";
option cc_enable_arenas = true;
// descriptor.proto must be optimized for speed because reflection-based
// algorithms don't work during bootstrapping.
option optimize_for = SPEED;
// The protocol compiler can output a FileDescriptorSet containing the .proto
// files it parses.
message FileDescriptorSet {
repeated FileDescriptorProto file = 1;
}
// Describes a complete .proto file.
message FileDescriptorProto {
optional string name = 1; // file name, relative to root of source tree
optional string package = 2; // e.g. "foo", "foo.bar", etc.
// Names of files imported by this file.
repeated string dependency = 3;
// Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
// Indexes of the weak imported files in the dependency list.
// For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
// All top-level definitions in this file.
repeated DescriptorProto message_type = 4;
repeated EnumDescriptorProto enum_type = 5;
repeated ServiceDescriptorProto service = 6;
repeated FieldDescriptorProto extension = 7;
optional FileOptions options = 8;
// This field contains optional information about the original source code.
// You may safely remove this entire field without harming runtime
// functionality of the descriptors -- the information is needed only by
// development tools.
optional SourceCodeInfo source_code_info = 9;
// The syntax of the proto file.
// The supported values are "proto2" and "proto3".
optional string syntax = 12;
}
// Describes a message type.
message DescriptorProto {
optional string name = 1;
repeated FieldDescriptorProto field = 2;
repeated FieldDescriptorProto extension = 6;
repeated DescriptorProto nested_type = 3;
repeated EnumDescriptorProto enum_type = 4;
message ExtensionRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Exclusive.
optional ExtensionRangeOptions options = 3;
}
repeated ExtensionRange extension_range = 5;
repeated OneofDescriptorProto oneof_decl = 8;
optional MessageOptions options = 7;
// Range of reserved tag numbers. Reserved tag numbers may not be used by
// fields or extension ranges in the same message. Reserved ranges may
// not overlap.
message ReservedRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Exclusive.
}
repeated ReservedRange reserved_range = 9;
// Reserved field names, which may not be used by fields in the same message.
// A given name may only be reserved once.
repeated string reserved_name = 10;
}
message ExtensionRangeOptions {
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
// Describes a field within a message.
message FieldDescriptorProto {
enum Type {
// 0 is reserved for errors.
// Order is weird for historical reasons.
TYPE_DOUBLE = 1;
TYPE_FLOAT = 2;
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
// negative values are likely.
TYPE_INT64 = 3;
TYPE_UINT64 = 4;
// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
// negative values are likely.
TYPE_INT32 = 5;
TYPE_FIXED64 = 6;
TYPE_FIXED32 = 7;
TYPE_BOOL = 8;
TYPE_STRING = 9;
// Tag-delimited aggregate.
// Group type is deprecated and not supported in proto3. However, Proto3
// implementations should still be able to parse the group wire format and
// treat group fields as unknown fields.
TYPE_GROUP = 10;
TYPE_MESSAGE = 11; // Length-delimited aggregate.
// New in version 2.
TYPE_BYTES = 12;
TYPE_UINT32 = 13;
TYPE_ENUM = 14;
TYPE_SFIXED32 = 15;
TYPE_SFIXED64 = 16;
TYPE_SINT32 = 17; // Uses ZigZag encoding.
TYPE_SINT64 = 18; // Uses ZigZag encoding.
}
enum Label {
// 0 is reserved for errors
LABEL_OPTIONAL = 1;
LABEL_REQUIRED = 2;
LABEL_REPEATED = 3;
}
optional string name = 1;
optional int32 number = 3;
optional Label label = 4;
// If type_name is set, this need not be set. If both this and type_name
// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
optional Type type = 5;
// For message and enum types, this is the name of the type. If the name
// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
// rules are used to find the type (i.e. first the nested types within this
// message are searched, then within the parent, on up to the root
// namespace).
optional string type_name = 6;
// For extensions, this is the name of the type being extended. It is
// resolved in the same manner as type_name.
optional string extendee = 2;
// For numeric types, contains the original text representation of the value.
// For booleans, "true" or "false".
// For strings, contains the default text contents (not escaped in any way).
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
// TODO(kenton): Base-64 encode?
optional string default_value = 7;
// If set, gives the index of a oneof in the containing type's oneof_decl
// list. This field is a member of that oneof.
optional int32 oneof_index = 9;
// JSON name of this field. The value is set by protocol compiler. If the
// user has set a "json_name" option on this field, that option's value
// will be used. Otherwise, it's deduced from the field's name by converting
// it to camelCase.
optional string json_name = 10;
optional FieldOptions options = 8;
// If true, this is a proto3 "optional". When a proto3 field is optional, it
// tracks presence regardless of field type.
//
// When proto3_optional is true, this field must be belong to a oneof to
// signal to old proto3 clients that presence is tracked for this field. This
// oneof is known as a "synthetic" oneof, and this field must be its sole
// member (each proto3 optional field gets its own synthetic oneof). Synthetic
// oneofs exist in the descriptor only, and do not generate any API. Synthetic
// oneofs must be ordered after all "real" oneofs.
//
// For message fields, proto3_optional doesn't create any semantic change,
// since non-repeated message fields always track presence. However it still
// indicates the semantic detail of whether the user wrote "optional" or not.
// This can be useful for round-tripping the .proto file. For consistency we
// give message fields a synthetic oneof also, even though it is not required
// to track presence. This is especially important because the parser can't
// tell if a field is a message or an enum, so it must always create a
// synthetic oneof.
//
// Proto2 optional fields do not set this flag, because they already indicate
// optional with `LABEL_OPTIONAL`.
optional bool proto3_optional = 17;
}
// Describes a oneof.
message OneofDescriptorProto {
optional string name = 1;
optional OneofOptions options = 2;
}
// Describes an enum type.
message EnumDescriptorProto {
optional string name = 1;
repeated EnumValueDescriptorProto value = 2;
optional EnumOptions options = 3;
// Range of reserved numeric values. Reserved values may not be used by
// entries in the same enum. Reserved ranges may not overlap.
//
// Note that this is distinct from DescriptorProto.ReservedRange in that it
// is inclusive such that it can appropriately represent the entire int32
// domain.
message EnumReservedRange {
optional int32 start = 1; // Inclusive.
optional int32 end = 2; // Inclusive.
}
// Range of reserved numeric values. Reserved numeric values may not be used
// by enum values in the same enum declaration. Reserved ranges may not
// overlap.
repeated EnumReservedRange reserved_range = 4;
// Reserved enum value names, which may not be reused. A given name may only
// be reserved once.
repeated string reserved_name = 5;
}
// Describes a value within an enum.
message EnumValueDescriptorProto {
optional string name = 1;
optional int32 number = 2;
optional EnumValueOptions options = 3;
}
// Describes a service.
message ServiceDescriptorProto {
optional string name = 1;
repeated MethodDescriptorProto method = 2;
optional ServiceOptions options = 3;
}
// Describes a method of a service.
message MethodDescriptorProto {
optional string name = 1;
// Input and output type names. These are resolved in the same way as
// FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
optional string output_type = 3;
optional MethodOptions options = 4;
// Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];
// Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];
}
// ===================================================================
// Options
// Each of the definitions above may have "options" attached. These are
// just annotations which may cause code to be generated slightly differently
// or may contain hints for code that manipulates protocol messages.
//
// Clients may define custom options as extensions of the *Options messages.
// These extensions may not yet be known at parsing time, so the parser cannot
// store the values in them. Instead it stores them in a field in the *Options
// message called uninterpreted_option. This field must have the same name
// across all *Options messages. We then use this field to populate the
// extensions when we build a descriptor, at which point all protos have been
// parsed and so all extensions are known.
//
// Extension numbers for custom options may be chosen as follows:
// * For options which will only be used within a single application or
// organization, or for experimental options, use field numbers 50000
// through 99999. It is up to you to ensure that you do not use the
// same number for multiple options.
// * For options which will be published and used publicly by multiple
// independent entities, e-mail [email protected]
// to reserve extension numbers. Simply provide your project name (e.g.
// Objective-C plugin) and your project website (if available) -- there's no
// need to explain how you intend to use them. Usually you only need one
// extension number. You can declare multiple options with only one extension
// number by putting them in a sub-message. See the Custom Options section of
// the docs for examples:
// https://developers.google.com/protocol-buffers/docs/proto#options
// If this turns out to be popular, a web service will be set up
// to automatically assign option numbers.
message FileOptions {
// Sets the Java package where classes generated from this .proto will be
// placed. By default, the proto package is used, but this is often
// inappropriate because proto packages do not normally start with backwards
// domain names.
optional string java_package = 1;
// If set, all the classes from the .proto file are wrapped in a single
// outer class with the given name. This applies to both Proto1
// (equivalent to the old "--one_java_file" option) and Proto2 (where
// a .proto always translates to a single class, but you may want to
// explicitly choose the class name).
optional string java_outer_classname = 8;
// If set true, then the Java code generator will generate a separate .java
// file for each top-level message, enum, and service defined in the .proto
// file. Thus, these types will *not* be nested inside the outer class
// named by java_outer_classname. However, the outer class will still be
// generated to contain the file's getDescriptor() method as well as any
// top-level extensions defined in the file.
optional bool java_multiple_files = 10 [default = false];
// This option does nothing.
optional bool java_generate_equals_and_hash = 20 [deprecated=true];
// If set true, then the Java2 code generator will generate code that
// throws an exception whenever an attempt is made to assign a non-UTF-8
// byte sequence to a string field.
// Message reflection will do the same.
// However, an extension field still accepts non-UTF-8 byte sequences.
// This option has no effect on when used with the lite runtime.
optional bool java_string_check_utf8 = 27 [default = false];
// Generated classes can be optimized for speed or code size.
enum OptimizeMode {
SPEED = 1; // Generate complete code for parsing, serialization,
// etc.
CODE_SIZE = 2; // Use ReflectionOps to implement these methods.
LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime.
}
optional OptimizeMode optimize_for = 9 [default = SPEED];
// Sets the Go package where structs generated from this .proto will be
// placed. If omitted, the Go package will be derived from the following:
// - The basename of the package import path, if provided.
// - Otherwise, the package statement in the .proto file, if present.
// - Otherwise, the basename of the .proto file, without extension.
optional string go_package = 11;
// Should generic services be generated in each language? "Generic" services
// are not specific to any particular RPC system. They are generated by the
// main code generators in each language (without additional plugins).
// Generic services were the only kind of service generation supported by
// early versions of google.protobuf.
//
// Generic services are now considered deprecated in favor of using plugins
// that generate code specific to your particular RPC system. Therefore,
// these default to false. Old code which depends on generic services should
// explicitly set them to true.
optional bool cc_generic_services = 16 [default = false];
optional bool java_generic_services = 17 [default = false];
optional bool py_generic_services = 18 [default = false];
optional bool php_generic_services = 42 [default = false];
// Is this file deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for everything in the file, or it will be completely ignored; in the very
// least, this is a formalization for deprecating files.
optional bool deprecated = 23 [default = false];
// Enables the use of arenas for the proto messages in this file. This applies
// only to generated classes for C++.
optional bool cc_enable_arenas = 31 [default = true];
// Sets the objective c class prefix which is prepended to all objective c
// generated classes from this .proto. There is no default.
optional string objc_class_prefix = 36;
// Namespace for generated classes; defaults to the package.
optional string csharp_namespace = 37;
// By default Swift generators will take the proto package and CamelCase it
// replacing '.' with underscore and use that to prefix the types/symbols
// defined. When this options is provided, they will use this value instead
// to prefix the types/symbols defined.
optional string swift_prefix = 39;
// Sets the php class prefix which is prepended to all php generated classes
// from this .proto. Default is empty.
optional string php_class_prefix = 40;
// Use this option to change the namespace of php generated classes. Default
// is empty. When this option is empty, the package name will be used for
// determining the namespace.
optional string php_namespace = 41;
// Use this option to change the namespace of php generated metadata classes.
// Default is empty. When this option is empty, the proto file name will be
// used for determining the namespace.
optional string php_metadata_namespace = 44;
// Use this option to change the package of ruby generated classes. Default
// is empty. When this option is not set, the package name will be used for
// determining the ruby package.
optional string ruby_package = 45;
// The parser stores options it doesn't recognize here.
// See the documentation for the "Options" section above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message.
// See the documentation for the "Options" section above.
extensions 1000 to max;
reserved 38;
}
message MessageOptions {
// Set true to use the old proto1 MessageSet wire format for extensions.
// This is provided for backwards-compatibility with the MessageSet wire
// format. You should not use this for any other reason: It's less
// efficient, has fewer features, and is more complicated.
//
// The message must be defined exactly as follows:
// message Foo {
// option message_set_wire_format = true;
// extensions 4 to max;
// }
// Note that the message cannot have any defined fields; MessageSets only
// have extensions.
//
// All extensions of your type must be singular messages; e.g. they cannot
// be int32s, enums, or repeated messages.
//
// Because this is an option, the above two restrictions are not enforced by
// the protocol compiler.
optional bool message_set_wire_format = 1 [default = false];
// Disables the generation of the standard "descriptor()" accessor, which can
// conflict with a field of the same name. This is meant to make migration
// from proto1 easier; new code should avoid fields named "descriptor".
optional bool no_standard_descriptor_accessor = 2 [default = false];
// Is this message deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the message, or it will be completely ignored; in the very least,
// this is a formalization for deprecating messages.
optional bool deprecated = 3 [default = false];
// Whether the message is an automatically generated map entry type for the
// maps field.
//
// For maps fields:
// map<KeyType, ValueType> map_field = 1;
// The parsed descriptor looks like:
// message MapFieldEntry {
// option map_entry = true;
// optional KeyType key = 1;
// optional ValueType value = 2;
// }
// repeated MapFieldEntry map_field = 1;
//
// Implementations may choose not to generate the map_entry=true message, but
// use a native map in the target language to hold the keys and values.
// The reflection APIs in such implementations still need to work as
// if the field is a repeated message field.
//
// NOTE: Do not set the option in .proto files. Always use the maps syntax
// instead. The option should only be implicitly set by the proto compiler
// parser.
optional bool map_entry = 7;
reserved 8; // javalite_serializable
reserved 9; // javanano_as_lite
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message FieldOptions {
// The ctype option instructs the C++ code generator to use a different
// representation of the field than it normally would. See the specific
// options below. This option is not yet implemented in the open source
// release -- sorry, we'll try to include it in a future version!
optional CType ctype = 1 [default = STRING];
enum CType {
// Default mode.
STRING = 0;
CORD = 1;
STRING_PIECE = 2;
}
// The packed option can be enabled for repeated primitive fields to enable
// a more efficient representation on the wire. Rather than repeatedly
// writing the tag and type for each element, the entire array is encoded as
// a single length-delimited blob. In proto3, only explicit setting it to
// false will avoid using packed encoding.
optional bool packed = 2;
// The jstype option determines the JavaScript type used for values of the
// field. The option is permitted only for 64 bit integral and fixed types
// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
// is represented as JavaScript string, which avoids loss of precision that
// can happen when a large value is converted to a floating point JavaScript.
// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
// use the JavaScript "number" type. The behavior of the default option
// JS_NORMAL is implementation dependent.
//
// This option is an enum to permit additional types to be added, e.g.
// goog.math.Integer.
optional JSType jstype = 6 [default = JS_NORMAL];
enum JSType {
// Use the default type.
JS_NORMAL = 0;
// Use JavaScript strings.
JS_STRING = 1;
// Use JavaScript numbers.
JS_NUMBER = 2;
}
// Should this field be parsed lazily? Lazy applies only to message-type
// fields. It means that when the outer message is initially parsed, the
// inner message's contents will not be parsed but instead stored in encoded
// form. The inner message will actually be parsed when it is first accessed.
//
// This is only a hint. Implementations are free to choose whether to use
// eager or lazy parsing regardless of the value of this option. However,
// setting this option true suggests that the protocol author believes that
// using lazy parsing on this field is worth the additional bookkeeping
// overhead typically needed to implement it.
//
// This option does not affect the public interface of any generated code;
// all method signatures remain the same. Furthermore, thread-safety of the
// interface is not affected by this option; const methods remain safe to
// call from multiple threads concurrently, while non-const methods continue
// to require exclusive access.
//
//
// Note that implementations may choose not to check required fields within
// a lazy sub-message. That is, calling IsInitialized() on the outer message
// may return true even if the inner message has missing required fields.
// This is necessary because otherwise the inner message would have to be
// parsed in order to perform the check, defeating the purpose of lazy
// parsing. An implementation which chooses not to check required fields
// must be consistent about it. That is, for any particular sub-message, the
// implementation must either *always* check its required fields, or *never*
// check its required fields, regardless of whether or not the message has
// been parsed.
optional bool lazy = 5 [default = false];
// Is this field deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for accessors, or it will be completely ignored; in the very least, this
// is a formalization for deprecating fields.
optional bool deprecated = 3 [default = false];
// For Google-internal migration only. Do not use.
optional bool weak = 10 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
reserved 4; // removed jtype
}
message OneofOptions {
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message EnumOptions {
// Set this option to true to allow mapping different tag names to the same
// value.
optional bool allow_alias = 2;
// Is this enum deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the enum, or it will be completely ignored; in the very least, this
// is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];
reserved 5; // javanano_as_lite
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message EnumValueOptions {
// Is this enum value deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the enum value, or it will be completely ignored; in the very least,
// this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message ServiceOptions {
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
// framework. We apologize for hoarding these numbers to ourselves, but
// we were already using them long before we decided to release Protocol
// Buffers.
// Is this service deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the service, or it will be completely ignored; in the very least,
// this is a formalization for deprecating services.
optional bool deprecated = 33 [default = false];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
message MethodOptions {
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
// framework. We apologize for hoarding these numbers to ourselves, but
// we were already using them long before we decided to release Protocol
// Buffers.
// Is this method deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the method, or it will be completely ignored; in the very least,
// this is a formalization for deprecating methods.
optional bool deprecated = 33 [default = false];
// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
// or neither? HTTP based RPC implementation may choose GET verb for safe
// methods, and PUT verb for idempotent methods instead of the default POST.
enum IdempotencyLevel {
IDEMPOTENCY_UNKNOWN = 0;
NO_SIDE_EFFECTS = 1; // implies idempotent
IDEMPOTENT = 2; // idempotent, but may have side effects
}
optional IdempotencyLevel idempotency_level = 34
[default = IDEMPOTENCY_UNKNOWN];
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
// Clients can define custom options in extensions of this message. See above.
extensions 1000 to max;
}
// A message representing a option the parser does not recognize. This only
// appears in options protos created by the compiler::Parser class.
// DescriptorPool resolves these when building Descriptor objects. Therefore,
// options protos in descriptor objects (e.g. returned by Descriptor::options(),
// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
// in them.
message UninterpretedOption {
// The name of the uninterpreted option. Each string represents a segment in
// a dot-separated name. is_extension is true iff a segment represents an
// extension (denoted with parentheses in options specs in .proto files).
// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
// "foo.(bar.baz).qux".
message NamePart {
required string name_part = 1;
required bool is_extension = 2;
}
repeated NamePart name = 2;
// The value of the uninterpreted option, in whatever type the tokenizer
// identified it as during parsing. Exactly one of these should be set.
optional string identifier_value = 3;
optional uint64 positive_int_value = 4;
optional int64 negative_int_value = 5;
optional double double_value = 6;
optional bytes string_value = 7;
optional string aggregate_value = 8;
}
// ===================================================================
// Optional source code info
// Encapsulates information about the original source file from which a
// FileDescriptorProto was generated.
message SourceCodeInfo {
// A Location identifies a piece of source code in a .proto file which
// corresponds to a particular definition. This information is intended
// to be useful to IDEs, code indexers, documentation generators, and similar
// tools.
//
// For example, say we have a file like:
// message Foo {
// optional string foo = 1;
// }
// Let's look at just the field definition:
// optional string foo = 1;
// ^ ^^ ^^ ^ ^^^
// a bc de f ghi
// We have the following locations:
// span path represents
// [a,i) [ 4, 0, 2, 0 ] The whole field definition.
// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
// [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
// [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
//
// Notes:
// - A location may refer to a repeated field itself (i.e. not to any
// particular index within it). This is used whenever a set of elements are
// logically enclosed in a single code segment. For example, an entire
// extend block (possibly containing multiple extension definitions) will
// have an outer location whose path refers to the "extensions" repeated
// field without an index.
// - Multiple locations may have the same path. This happens when a single
// logical declaration is spread out across multiple places. The most
// obvious example is the "extend" block again -- there may be multiple
// extend blocks in the same scope, each of which will have the same path.
// - A location's span is not always a subset of its parent's span. For
// example, the "extendee" of an extension declaration appears at the
// beginning of the "extend" block and is shared by all extensions within
// the block.
// - Just because a location's span is a subset of some other location's span
// does not mean that it is a descendant. For example, a "group" defines
// both a type and a field in a single declaration. Thus, the locations
// corresponding to the type and field and their components will overlap.
// - Code which tries to interpret locations should probably be designed to
// ignore those that it doesn't understand, as more types of locations could
// be recorded in the future.
repeated Location location = 1;
message Location {
// Identifies which part of the FileDescriptorProto was defined at this
// location.
//
// Each element is a field number or an index. They form a path from
// the root FileDescriptorProto to the place where the definition. For
// example, this path:
// [ 4, 3, 2, 7, 1 ]
// refers to:
// file.message_type(3) // 4, 3
// .field(7) // 2, 7
// .name() // 1
// This is because FileDescriptorProto.message_type has field number 4:
// repeated DescriptorProto message_type = 4;
// and DescriptorProto.field has field number 2:
// repeated FieldDescriptorProto field = 2;
// and FieldDescriptorProto.name has field number 1:
// optional string name = 1;
//
// Thus, the above path gives the location of a field name. If we removed
// the last element:
// [ 4, 3, 2, 7 ]
// this path refers to the whole field declaration (from the beginning
// of the label to the terminating semicolon).
repeated int32 path = 1 [packed = true];
// Always has exactly three or four elements: start line, start column,
// end line (optional, otherwise assumed same as start line), end column.
// These are packed into a single field for efficiency. Note that line
// and column numbers are zero-based -- typically you will want to add
// 1 to each before displaying to a user.
repeated int32 span = 2 [packed = true];
// If this SourceCodeInfo represents a complete declaration, these are any
// comments appearing before and after the declaration which appear to be
// attached to the declaration.
//
// A series of line comments appearing on consecutive lines, with no other
// tokens appearing on those lines, will be treated as a single comment.
//
// leading_detached_comments will keep paragraphs of comments that appear
// before (but not connected to) the current element. Each paragraph,
// separated by empty lines, will be one comment element in the repeated
// field.
//
// Only the comment content is provided; comment markers (e.g. //) are
// stripped out. For block comments, leading whitespace and an asterisk
// will be stripped from the beginning of each line other than the first.
// Newlines are included in the output.
//
// Examples:
//
// optional int32 foo = 1; // Comment attached to foo.
// // Comment attached to bar.
// optional int32 bar = 2;
//
// optional string baz = 3;
// // Comment attached to baz.
// // Another line attached to baz.
//
// // Comment attached to qux.
// //
// // Another line attached to qux.
// optional double qux = 4;
//
// // Detached comment for corge. This is not leading or trailing comments
// // to qux or corge because there are blank lines separating it from
// // both.
//
// // Detached comment for corge paragraph 2.
//
// optional string corge = 5;
// /* Block comment attached
// * to corge. Leading asterisks
// * will be removed. */
// /* Block comment attached to
// * grault. */
// optional int32 grault = 6;
//
// // ignored detached comments.
optional string leading_comments = 3;
optional string trailing_comments = 4;
repeated string leading_detached_comments = 6;
}
}
// Describes the relationship between generated code and its original source
// file. A GeneratedCodeInfo message is associated with only one generated
// source file, but may contain references to different source .proto files.
message GeneratedCodeInfo {
// An Annotation connects some span of text in generated code to an element
// of its generating .proto file.
repeated Annotation annotation = 1;
message Annotation {
// Identifies the element in the original source .proto file. This field
// is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];
// Identifies the filesystem path to the original source .proto.
optional string source_file = 2;
// Identifies the starting offset in bytes in the generated code
// that relates to the identified object.
optional int32 begin = 3;
// Identifies the ending offset in bytes in the generated code that
// relates to the identified offset. The end offset should be one past
// the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;
}
}
+335
View File
@@ -0,0 +1,335 @@
// Copyright 2022 GameUp Online, Inc. d/b/a Heroic Labs
//
// NOTICE: All information contained herein is, and remains the property of Heroic
// Labs. and its suppliers, if any. The intellectual and technical concepts contained
// herein are proprietary to Heroic Labs. and its suppliers and may be covered by U.S.
// and Foreign Patents, patents in process, and are protected by trade secret or
// copyright law. Dissemination of this information or reproduction of this material
// is strictly forbidden unless prior written permission is obtained from Heroic Labs.
syntax = "proto3";
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
option go_package = "github.com/heroiclabs/satori/api";
option java_multiple_files = true;
option java_outer_classname = "SatoriApi";
option java_package = "com.heroiclabs.satori.api";
/**
* The public client API for the Satori server.
*/
package satori.api;
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Satori Server API";
version: "1.0";
contact: {
name: "Heroic Labs";
url: "https://heroiclabs.com";
email: "[email protected]";
};
};
host: "127.0.0.1:7450";
schemes: HTTP;
consumes: "application/json";
produces: "application/json";
security_definitions: {
security: {
key: "BasicAuth";
value: {
type: TYPE_BASIC;
}
}
security: {
// Made up security so we can apply "Bearer <JWT_TOKEN>"
key: "BearerJwt";
value: {};
}
}
// Default security definition.
security: {
security_requirement: {
key: "BearerJwt";
value: {};
}
}
};
/**
* The GRPC protocol service for Satori built with GRPC.
*/
service Satori {
// Authenticate against the server.
rpc Authenticate (AuthenticateRequest) returns (Session) {
option (google.api.http) = {
post: "/v1/authenticate",
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
security: {
security_requirement: {
key: "BasicAuth";
value: {};
}
}
};
}
// Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.
rpc AuthenticateLogout (AuthenticateLogoutRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/v1/authenticate/logout",
body: "*"
};
}
// Refresh a user's session using a refresh token retrieved from a previous authentication request.
rpc AuthenticateRefresh (AuthenticateRefreshRequest) returns (Session) {
option (google.api.http) = {
post: "/v1/authenticate/refresh",
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
security: {
security_requirement: {
key: "BasicAuth";
value: {};
}
}
};
}
// Delete the caller's identity and associated data.
rpc DeleteIdentity(google.protobuf.Empty) returns (google.protobuf.Empty) {
option (google.api.http).delete = "/v1/identity";
}
// Publish an event for this session.
rpc Event(EventRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/v1/event",
body: "*"
};
}
// Get or list all available experiments for this identity.
rpc GetExperiments (GetExperimentsRequest) returns (ExperimentList) {
option (google.api.http).get = "/v1/experiment";
}
// List all available flags for this identity.
rpc GetFlags (GetFlagsRequest) returns (FlagList) {
option (google.api.http).get = "/v1/flag";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
// Either HTTP key in query param or Bearer authentication.
security: {
security_requirement: {
key: "HttpKeyAuth";
value: {};
}
security_requirement: {
key: "BearerJwt";
value: {};
}
}
};
}
// List available live events.
rpc GetLiveEvents (GetLiveEventsRequest) returns (LiveEventList) {
option (google.api.http).get = "/v1/live-event";
}
// A healthcheck which load balancers can use to check the service.
rpc Healthcheck (google.protobuf.Empty) returns (google.protobuf.Empty) {
option (google.api.http).get = "/healthcheck";
}
// Enrich/replace the current session with new identifier.
rpc Identify(IdentifyRequest) returns (Session) {
option (google.api.http) = {
put: "/v1/identify",
body: "*"
};
}
// List properties associated with this identity.
rpc ListProperties (google.protobuf.Empty) returns (Properties) {
option (google.api.http).get = "/v1/properties";
}
// A readycheck which load balancers can use to check the service.
rpc Readycheck (google.protobuf.Empty) returns (google.protobuf.Empty) {
option (google.api.http).get = "/readycheck";
}
// Update identity properties.
rpc UpdateProperties(UpdatePropertiesRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
put: "/v1/properties",
body: "*"
};
}
}
// Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.
message AuthenticateLogoutRequest {
// Session token to log out.
string token = 1;
// Refresh token to invalidate.
string refresh_token = 2;
}
// Authenticate against the server with a refresh token.
message AuthenticateRefreshRequest {
// Refresh token.
string refresh_token = 1;
}
// Authentication request
message AuthenticateRequest {
// Identity ID. Must be between eight and 128 characters (inclusive).
// Must be an alphanumeric string with only underscores and hyphens allowed.
string id = 1;
// Optional default properties to update with this call.
// If not set, properties are left as they are on the server.
map<string,string> default = 2;
// Optional custom properties to update with this call.
// If not set, properties are left as they are on the server.
map<string,string> custom = 3;
}
// A single event. Usually, but not necessarily, part of a batch.
message Event {
// Event name.
string name = 1;
// Optional event ID assigned by the client, used to de-duplicate in retransmission scenarios.
// If not supplied the server will assign a randomly generated unique event identifier.
string id = 2;
// Event metadata, if any.
map<string,string> metadata = 3;
// Optional value.
string value = 4;
// The time when the event was triggered on the producer side.
google.protobuf.Timestamp timestamp = 5;
}
// Publish an event to the server
message EventRequest {
// Some number of events produced by a client.
repeated Event events = 1;
}
// An experiment that this user is partaking.
message Experiment {
// Experiment name
string name = 1;
// Value associated with this Experiment.
string value = 2;
}
// All experiments that this identity is involved with.
message ExperimentList {
// All experiments for this identity.
repeated Experiment experiments = 1;
}
// Feature flag available to the identity.
message Flag {
// Flag name
string name = 1;
// Value associated with this flag.
string value = 2;
// Whether the value for this flag has conditionally changed from the default state.
bool condition_changed = 3;
}
// All flags available to the identity
message FlagList {
// All flags
repeated Flag flags = 1;
}
// Request to get all experiments data.
message GetExperimentsRequest {
// Experiment names; if empty string all experiments are returned.
repeated string names = 1;
}
// Request to get all flags data.
message GetFlagsRequest {
// Flag names; if empty string all flags are returned.
repeated string names = 1;
}
// Request to get all live events.
message GetLiveEventsRequest {
// Live event names; if empty string all live events are returned.
repeated string names = 1;
}
// Enrich/replace the current session with a new ID.
message IdentifyRequest {
// Identity ID to enrich the current session and return a new session. Old session will no longer be usable.
string id = 1;
// Optional default properties to update with this call.
// If not set, properties are left as they are on the server.
map<string,string> default = 2;
// Optional custom properties to update with this call.
// If not set, properties are left as they are on the server.
map<string,string> custom = 3;
}
// A single live event.
message LiveEvent {
// Name.
string name = 1;
// Description.
string description = 2;
// Event value.
string value = 3;
// Start time of current event run.
int64 active_start_time_sec = 4;
// End time of current event run.
int64 active_end_time_sec = 5;
}
// List of Live events.
message LiveEventList {
// Live events.
repeated LiveEvent live_events = 1;
}
// Properties associated with an identity.
message Properties {
// Event default properties.
map<string,string> default = 1;
// Event computed properties.
map<string,string> computed = 2;
// Event custom properties.
map<string,string> custom = 3;
}
// A session.
message Session {
// Token credential.
string token = 1;
// Refresh token.
string refresh_token = 2;
// Properties associated with this identity.
Properties properties = 3;
}
// Update Properties associated with this identity.
message UpdatePropertiesRequest {
// Event default properties.
map<string,string> default = 1;
// Event custom properties.
map<string,string> custom = 2;
}
@@ -20,13 +20,13 @@ import lombok.*;
import java.util.List;
/**
* A chat channel on the server.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* A chat channel on the server.
*/
public class Channel {
/**
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.*;
@Data
/**
* Send a channel join message to the server.
*/
@Data
class ChannelJoinMessage {
private final String target;
private final int type;
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* A leave message to a chat channel.
*/
@Data
class ChannelLeaveMessage {
private final String channelId;
}
@@ -20,12 +20,12 @@ import lombok.*;
import java.util.Date;
@Data
/**
* A message sent on a channel.
*
*/
// This message type is only used for GSON, and not exposed to the Client interface.
@Data
class ChannelMessage {
private String channelId;
private String messageId;
@@ -20,13 +20,13 @@ import lombok.*;
import java.util.Date;
/**
* An acknowledgement from the server when a chat message is delivered to a channel.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* An acknowledgement from the server when a chat message is delivered to a channel.
*/
public class ChannelMessageAck {
/**
* A unique ID for the chat message.
@@ -20,13 +20,13 @@ import lombok.*;
import java.util.List;
/**
* A batch of join and leave presences on a chat channel.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* A batch of join and leave presences on a chat channel.
*/
public class ChannelPresenceEvent {
/**
* The unique identifier of the chat channel.
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* A remove message for a chat channel.
*/
@Data
class ChannelRemoveMessage {
private final String channelId;
private final String messageId;
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* Send a chat message to a channel on the server.
*/
@Data
class ChannelSendMessage {
private final String channelId;
private final String content;
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* Update a chat message which has been sent to a channel.
*/
@Data
class ChannelUpdateMessage {
private final String channelId;
private final String messageId;
@@ -559,7 +559,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @return A future to resolve a session object.
@@ -572,7 +572,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @param vars Extra information that will be bundled in the session token.
@@ -585,7 +585,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @param username A username used to create the user.
@@ -598,7 +598,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @param create True if the user should be created when authenticated.
@@ -611,7 +611,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @param create True if the user should be created when authenticated.
@@ -625,7 +625,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @param create True if the user should be created when authenticated.
@@ -780,6 +780,7 @@ public interface Client {
/**
* Demote a set of users in a group to the next role down.
*
* @param session The session of the user.
* @param groupId The group ID to demote in.
* @param userIds The users to demote.
* @return A future.
@@ -900,7 +901,7 @@ public interface Client {
* Add an Apple ID to the social profiles on the current user's account.
*
* @param session The session of the user.
* @param id The ID token received from Apple to validate.
* @param token The token received from Apple to validate.
* @return A future.
*/
ListenableFuture<Empty> linkApple(@NonNull final Session session, @NonNull final String token);
@@ -986,7 +987,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @return A future.
@@ -1247,7 +1248,7 @@ public interface Client {
* @param min The minimum number of match participants.
* @param max The maximum number of match participants.
* @param limit The number of matches to list.
* @param authoritative <c>True</c> to include authoritative matches.
* @param authoritative True to include authoritative matches.
* @param label The label to filter the match list on.
* @return A future to resolve match.
*/
@@ -1651,7 +1652,7 @@ public interface Client {
* @param playerId The player id of the user in Game Center.
* @param bundleId The bundle id of the Game Center application.
* @param timestampSeconds The date and time that the signature was created.
* @param salt A random <c>NSString</c> used to compute the hash and keep it randomized.
* @param salt A random String used to compute the hash and keep it randomized.
* @param signature The verification signature data generated.
* @param publicKeyUrl The URL for the public encryption key.
* @return A future.
@@ -30,16 +30,19 @@ import io.grpc.okhttp.OkHttpChannelBuilder;
import io.grpc.stub.MetadataUtils;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import lombok.var;
import javax.annotation.Nonnegative;
import javax.annotation.Nullable;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* Default implementation of Client interface.
*/
@Slf4j
public class DefaultClient implements Client {
private static final String USERAGENT = "nakama-java-client";
@@ -207,7 +210,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> addFriends(@NonNull final Session session, final Iterable<String> ids, final String... usernames) {
final var builder = AddFriendsRequest.newBuilder();
final AddFriendsRequest.Builder builder = AddFriendsRequest.newBuilder();
if (ids != null) {
builder.addAllIds(ids);
}
@@ -874,7 +877,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> blockFriends(@NonNull final Session session, final Iterable<String> ids, final String... usernames) {
final var builder = BlockFriendsRequest.newBuilder();
final BlockFriendsRequest.Builder builder = BlockFriendsRequest.newBuilder();
if (ids != null) {
builder.addAllIds(ids);
}
@@ -901,7 +904,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Group> createGroup(@NonNull final Session session, @NonNull final String name, final String description, final String avatarUrl, final String langTag) {
final var builder = CreateGroupRequest.newBuilder().setName(name);
final CreateGroupRequest.Builder builder = CreateGroupRequest.newBuilder().setName(name);
if (description != null) {
builder.setDescription(description);
@@ -918,7 +921,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Group> createGroup(@NonNull final Session session, @NonNull final String name, final String description, final String avatarUrl, final String langTag, final boolean open) {
final var builder = CreateGroupRequest.newBuilder().setName(name).setOpen(open);
final CreateGroupRequest.Builder builder = CreateGroupRequest.newBuilder().setName(name).setOpen(open);
if (description != null) {
builder.setDescription(description);
@@ -935,7 +938,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Group> createGroup(@NonNull final Session session, @NonNull final String name, final String description, final String avatarUrl, final String langTag, final boolean open, final int maxCount) {
final var builder = CreateGroupRequest.newBuilder().setName(name).setOpen(open);
final CreateGroupRequest.Builder builder = CreateGroupRequest.newBuilder().setName(name).setOpen(open);
if (description != null) {
builder.setDescription(description);
@@ -960,7 +963,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> deleteFriends(@NonNull final Session session, final Iterable<String> ids, final String... usernames) {
final var builder = DeleteFriendsRequest.newBuilder();
final DeleteFriendsRequest.Builder builder = DeleteFriendsRequest.newBuilder();
if (ids != null) {
builder.addAllIds(ids);
}
@@ -1027,13 +1030,13 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Users> getUsers(@NonNull final Session session, @NonNull final String... ids) {
final var builder = GetUsersRequest.newBuilder().addAllIds(Arrays.asList(ids));
final GetUsersRequest.Builder builder = GetUsersRequest.newBuilder().addAllIds(Arrays.asList(ids));
return getStub(session).getUsers(builder.build());
}
@Override
public ListenableFuture<Users> getUsers(@NonNull final Session session, final Iterable<String> ids, final String... usernames) {
final var builder = GetUsersRequest.newBuilder();
final GetUsersRequest.Builder builder = GetUsersRequest.newBuilder();
if (ids != null) {
builder.addAllIds(ids);
}
@@ -1045,7 +1048,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Users> getUsers(@NonNull final Session session, final Iterable<String> ids, final Iterable<String> usernames, final String... facebookIds) {
final var builder = GetUsersRequest.newBuilder();
final GetUsersRequest.Builder builder = GetUsersRequest.newBuilder();
if (ids != null) {
builder.addAllIds(ids);
}
@@ -1171,7 +1174,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<ChannelMessageList> listChannelMessages(@NonNull final Session session, @NonNull final String channelId, final int limit, final String cursor) {
final var builder = ListChannelMessagesRequest.newBuilder().setChannelId(channelId);
final ListChannelMessagesRequest.Builder builder = ListChannelMessagesRequest.newBuilder().setChannelId(channelId);
if (limit > 0) {
builder.setLimit(Int32Value.newBuilder().setValue(limit).build());
}
@@ -1183,7 +1186,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<ChannelMessageList> listChannelMessages(@NonNull final Session session, @NonNull final String channelId, final int limit, final String cursor, final boolean forward) {
final var builder = ListChannelMessagesRequest.newBuilder().setChannelId(channelId);
final ListChannelMessagesRequest.Builder builder = ListChannelMessagesRequest.newBuilder().setChannelId(channelId);
builder.setForward(BoolValue.newBuilder().setValue(forward).getDefaultInstanceForType());
if (limit > 0) {
builder.setLimit(Int32Value.newBuilder().setValue(limit).build());
@@ -1201,7 +1204,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<FriendList> listFriends(@NonNull final Session session, final int state, final int limit, final String cursor) {
final var builder = ListFriendsRequest.newBuilder();
final ListFriendsRequest.Builder builder = ListFriendsRequest.newBuilder();
if (state > -1) {
builder.setState(Int32Value.newBuilder().setValue(state).build());
@@ -1223,7 +1226,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<GroupUserList> listGroupUsers(@NonNull final Session session, @NonNull final String groupId, final int state, final int limit, final String cursor) {
final var builder = ListGroupUsersRequest.newBuilder();
final ListGroupUsersRequest.Builder builder = ListGroupUsersRequest.newBuilder();
if (state > -1) {
builder.setState(Int32Value.newBuilder().setValue(state).build());
@@ -1250,7 +1253,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<GroupList> listGroups(@NonNull final Session session, final String name, final int limit, final String cursor) {
final var builder = ListGroupsRequest.newBuilder();
final ListGroupsRequest.Builder builder = ListGroupsRequest.newBuilder();
if (name != null) {
builder.setName(name);
}
@@ -1284,7 +1287,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecordList> listLeaderboardRecords(@NonNull final Session session, @NonNull final String leaderboardId, final Iterable<String> ownerIds, final int expiry, final int limit, final String cursor) {
final var builder = ListLeaderboardRecordsRequest.newBuilder().setLeaderboardId(leaderboardId);
final ListLeaderboardRecordsRequest.Builder builder = ListLeaderboardRecordsRequest.newBuilder().setLeaderboardId(leaderboardId);
if (ownerIds != null) {
builder.addAllOwnerIds(ownerIds);
}
@@ -1312,7 +1315,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecordList> listLeaderboardRecordsAroundOwner(@NonNull final Session session, @NonNull final String leaderboardId, final String ownerId, final int expiry, final int limit) {
final var builder = ListLeaderboardRecordsAroundOwnerRequest.newBuilder().setLeaderboardId(leaderboardId).setOwnerId(ownerId);
final ListLeaderboardRecordsAroundOwnerRequest.Builder builder = ListLeaderboardRecordsAroundOwnerRequest.newBuilder().setLeaderboardId(leaderboardId).setOwnerId(ownerId);
if (expiry > 0) {
builder.setExpiry(Int64Value.newBuilder().setValue(expiry).build());
}
@@ -1344,7 +1347,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<MatchList> listMatches(@NonNull final Session session, final int min, final int max, final int limit, final String label) {
final var builder = ListMatchesRequest.newBuilder();
final ListMatchesRequest.Builder builder = ListMatchesRequest.newBuilder();
if (min >= 0) {
builder.setMinSize(Int32Value.newBuilder().setValue(min).build());
}
@@ -1362,7 +1365,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<MatchList> listMatches(@NonNull final Session session, final int min, final int max, final int limit, final String label, final boolean authoritative) {
final var builder = ListMatchesRequest.newBuilder();
final ListMatchesRequest.Builder builder = ListMatchesRequest.newBuilder();
if (min >= 0) {
builder.setMinSize(Int32Value.newBuilder().setValue(min).build());
}
@@ -1391,7 +1394,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<com.heroiclabs.nakama.api.NotificationList> listNotifications(@NonNull final Session session, final int limit, final String cacheableCursor) {
final var builder = ListNotificationsRequest.newBuilder();
final ListNotificationsRequest.Builder builder = ListNotificationsRequest.newBuilder();
if (limit > 0) {
builder.setLimit(Int32Value.newBuilder().setValue(limit).build());
}
@@ -1583,7 +1586,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<TournamentRecordList> listTournamentRecordsAroundOwner(@NonNull final Session session, @NonNull final String tournamentId, final String ownerId, final int expiry, final int limit) {
final var builder = ListTournamentRecordsAroundOwnerRequest.newBuilder().setTournamentId(tournamentId).setOwnerId(ownerId);
final ListTournamentRecordsAroundOwnerRequest.Builder builder = ListTournamentRecordsAroundOwnerRequest.newBuilder().setTournamentId(tournamentId).setOwnerId(ownerId);
if (expiry > 0) {
builder.setExpiry(Int64Value.newBuilder().setValue(expiry).build());
}
@@ -1600,7 +1603,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<UserGroupList> listUserGroups(@NonNull final Session session, final String userId) {
final var builder = ListUserGroupsRequest.newBuilder();
final ListUserGroupsRequest.Builder builder = ListUserGroupsRequest.newBuilder();
if (userId != null) {
builder.setUserId(userId);
}
@@ -1609,7 +1612,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<UserGroupList> listUserGroups(@NonNull final Session session, final String userId, int state, int limit, String cursor) {
final var builder = ListUserGroupsRequest.newBuilder();
final ListUserGroupsRequest.Builder builder = ListUserGroupsRequest.newBuilder();
if (state > -1) {
builder.setState(Int32Value.newBuilder().setValue(state).build());
@@ -1636,7 +1639,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<StorageObjectList> listUsersStorageObjects(@NonNull final Session session, @NonNull final String collection, final String userId, final int limit, final String cursor) {
final var builder = ListStorageObjectsRequest.newBuilder().setCollection(collection);
final ListStorageObjectsRequest.Builder builder = ListStorageObjectsRequest.newBuilder().setCollection(collection);
if (userId != null) {
builder.setUserId(userId);
}
@@ -1651,7 +1654,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> promoteGroupUsers(@NonNull final Session session, @NonNull final String groupId, @NonNull final String... ids) {
final var userIds = Arrays.asList(ids);
final List<String> userIds = Arrays.asList(ids);
return getStub(session).promoteGroupUsers(PromoteGroupUsersRequest.newBuilder().setGroupId(groupId).addAllUserIds(userIds).build());
}
@@ -1682,7 +1685,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Rpc> rpc(@NonNull final Session session, @NonNull final String id, final String payload) {
final var builder = Rpc.newBuilder().setId(id);
final Rpc.Builder builder = Rpc.newBuilder().setId(id);
if (payload != null) {
builder.setPayload(payload);
}
@@ -1768,7 +1771,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> updateAccount(@NonNull final Session session, final String username, final String displayName, final String avatarUrl, final String langTag, final String location, final String timezone) {
final var builder = UpdateAccountRequest.newBuilder();
final UpdateAccountRequest.Builder builder = UpdateAccountRequest.newBuilder();
if (username != null) {
builder.setUsername(StringValue.newBuilder().setValue(username).build());
}
@@ -1807,7 +1810,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> updateGroup(@NonNull final Session session, @NonNull final String groupId, final String name, final String description, final String avatarUrl, final String langTag) {
final var builder = UpdateGroupRequest.newBuilder().setGroupId(groupId);
final UpdateGroupRequest.Builder builder = UpdateGroupRequest.newBuilder().setGroupId(groupId);
if (name != null) {
builder.setName(StringValue.newBuilder().setValue(name).build());
}
@@ -1825,7 +1828,7 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<Empty> updateGroup(@NonNull final Session session, @NonNull final String groupId, final String name, final String description, final String avatarUrl, final String langTag, final boolean open) {
final var builder = UpdateGroupRequest.newBuilder().setGroupId(groupId);
final UpdateGroupRequest.Builder builder = UpdateGroupRequest.newBuilder().setGroupId(groupId);
if (name != null) {
builder.setName(StringValue.newBuilder().setValue(name).build());
}
@@ -1844,16 +1847,16 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeLeaderboardRecord(@NonNull final Session session, @NonNull final String leaderboardId, final long score) {
final var builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final var recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder().setScore(score);
final WriteLeaderboardRecordRequest.Builder builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final WriteLeaderboardRecordRequest.LeaderboardRecordWrite.Builder recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder().setScore(score);
builder.setRecord(recordBuilder.build());
return getStub(session).writeLeaderboardRecord(builder.build());
}
@Override
public ListenableFuture<LeaderboardRecord> writeLeaderboardRecord(@NonNull final Session session, @NonNull final String leaderboardId, final long score, final long subscore) {
final var builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final var recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
final WriteLeaderboardRecordRequest.Builder builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final WriteLeaderboardRecordRequest.LeaderboardRecordWrite.Builder recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
.setScore(score)
.setSubscore(subscore);
builder.setRecord(recordBuilder.build());
@@ -1862,8 +1865,8 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeLeaderboardRecord(@NonNull final Session session, @NonNull final String leaderboardId, final long score, final String metadata) {
final var builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final var recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
final WriteLeaderboardRecordRequest.Builder builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final WriteLeaderboardRecordRequest.LeaderboardRecordWrite.Builder recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
.setScore(score)
.setMetadata(metadata);
builder.setRecord(recordBuilder.build());
@@ -1872,8 +1875,8 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeLeaderboardRecord(@NonNull final Session session, @NonNull final String leaderboardId, final long score, final long subscore, final String metadata) {
final var builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final var recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
final WriteLeaderboardRecordRequest.Builder builder = WriteLeaderboardRecordRequest.newBuilder().setLeaderboardId(leaderboardId);
final WriteLeaderboardRecordRequest.LeaderboardRecordWrite.Builder recordBuilder = WriteLeaderboardRecordRequest.LeaderboardRecordWrite.newBuilder()
.setScore(score)
.setSubscore(subscore)
.setMetadata(metadata);
@@ -1908,16 +1911,16 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeTournamentRecord(@NonNull final Session session, @NonNull final String tournamentId, final long score) {
final var builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final var recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder().setScore(score);
final WriteTournamentRecordRequest.Builder builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final WriteTournamentRecordRequest.TournamentRecordWrite.Builder recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder().setScore(score);
builder.setRecord(recordBuilder.build());
return getStub(session).writeTournamentRecord(builder.build());
}
@Override
public ListenableFuture<LeaderboardRecord> writeTournamentRecord(@NonNull final Session session, @NonNull final String tournamentId, final long score, final long subscore) {
final var builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final var recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
final WriteTournamentRecordRequest.Builder builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final WriteTournamentRecordRequest.TournamentRecordWrite.Builder recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
.setScore(score)
.setSubscore(subscore);
builder.setRecord(recordBuilder.build());
@@ -1926,8 +1929,8 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeTournamentRecord(@NonNull final Session session, @NonNull final String tournamentId, final long score, @NonNull final String metadata) {
final var builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final var recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
final WriteTournamentRecordRequest.Builder builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final WriteTournamentRecordRequest.TournamentRecordWrite.Builder recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
.setScore(score)
.setMetadata(metadata);
builder.setRecord(recordBuilder.build());
@@ -1936,8 +1939,8 @@ public class DefaultClient implements Client {
@Override
public ListenableFuture<LeaderboardRecord> writeTournamentRecord(@NonNull final Session session, @NonNull final String tournamentId, final long score, final long subscore, @NonNull final String metadata) {
final var builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final var recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
final WriteTournamentRecordRequest.Builder builder = WriteTournamentRecordRequest.newBuilder().setTournamentId(tournamentId);
final WriteTournamentRecordRequest.TournamentRecordWrite.Builder recordBuilder = WriteTournamentRecordRequest.TournamentRecordWrite.newBuilder()
.setScore(score)
.setSubscore(subscore)
.setMetadata(metadata);
@@ -18,6 +18,9 @@ package com.heroiclabs.nakama;
import lombok.*;
/**
* All errors exposed by the client library.
*/
@Getter
@ToString
class DefaultError extends Error {
@@ -30,9 +33,9 @@ class DefaultError extends Error {
this.collationId = null;
}
DefaultError(@NonNull final String collationId, @NonNull final WebSocketError error) {
DefaultError(final String collationId, @NonNull final WebSocketError error) {
super(error.getMessage());
this.code = ErrorCode.fromInt(error.getCode());
this.collationId = collationId;
}
}
}
@@ -26,6 +26,9 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* Default implementation of Session interface.
*/
@Getter
@EqualsAndHashCode
@ToString
@@ -80,10 +83,10 @@ public class DefaultSession implements Session {
/**
* Restore a session from an authentication token.
* @param token The authentication token from a <c>Session</c>.
* @param token The authentication token from a Session.
* @return A session restored from the authentication token.
*/
public static Session restore(final String token) {
return new DefaultSession(token, false);
}
}
}
@@ -27,7 +27,7 @@ import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
/*
/**
* A custom Date serializer to indicate to GSON that it is receiving UTC timestamps.
*/
public class GsonDateDeserializer implements JsonDeserializer<Date> {
@@ -20,13 +20,13 @@ import lombok.*;
import java.util.List;
/**
* A multiplayer match.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* A multiplayer match.
*/
public class Match {
/**
* True if this match has an authoritative handler on the server.
@@ -18,9 +18,9 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* A create message for a match on the server.
*/
@Data
class MatchCreateMessage {
}
@@ -19,13 +19,13 @@ package com.heroiclabs.nakama;
import com.google.common.io.BaseEncoding;
import lombok.*;
/**
* Some game state update in a match.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* Some game state update in a match.
*/
public class MatchData {
/**
* The unique match identifier.
@@ -20,10 +20,10 @@ import lombok.Data;
import java.util.Map;
@Data
/**
* A join message for a match on the server.
*/
@Data
class MatchJoinMessage {
private String matchId;
private String token;
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* A leave message for a match on the server.
*/
@Data
class MatchLeaveMessage {
private final String matchId;
}
@@ -20,13 +20,13 @@ import lombok.*;
import java.util.List;
/**
* A batch of join and leave presences for a match.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* A batch of join and leave presences for a match.
*/
public class MatchPresenceEvent {
/**
* The unique match identifier.
@@ -20,10 +20,10 @@ import lombok.Data;
import java.util.List;
@Data
/**
* Send new state to a match on the server.
*/
@Data
class MatchSendMessage {
private final String matchId;
private final long opCode;
@@ -20,10 +20,10 @@ import lombok.Data;
import java.util.Map;
@Data
/**
* Add the user to the matchmaker pool with properties.
*/
@Data
class MatchmakerAddMessage {
private int MinCount;
private int MaxCount;
@@ -20,14 +20,14 @@ import lombok.*;
import java.util.List;
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
/**
* The result of a successful matchmaker operation sent to the server.
*/
@Getter
@EqualsAndHashCode
@ToString
@NoArgsConstructor(access = AccessLevel.PACKAGE)
public class MatchmakerMatched {
/**
* The id used to join the match.
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
import lombok.Data;
@Data
/**
* Remove the user from the matchmaker pool by ticket.
*/
@Data
class MatchmakerRemoveMessage {
private final String ticket;
}
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff. Show more