mirror of
https://github.com/heroiclabs/nakama-java.git
synced 2026-11-24 08:55:49 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ec9b27cdf | ||
|
|
32a2a01325 | ||
|
|
a98c6cb998 | ||
|
|
3237873ce1 | ||
|
|
04bf397414 | ||
|
|
3a2aafb524 | ||
|
|
07701f96d6 | ||
|
|
7bd15200c2 | ||
|
|
243b58d4b4 | ||
|
|
885037a4ba | ||
|
|
cbb5ffca30 |
No files matched your search
@@ -6,6 +6,33 @@ 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.
|
||||
|
||||
@@ -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.
|
||||
@@ -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).
|
||||
+175
-109
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2021 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,30 +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.1.1'
|
||||
def description = 'Android optimized Java client for Nakama server.'
|
||||
version = '2.3.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
@@ -53,123 +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 {
|
||||
all {
|
||||
exclude group: 'io.grpc', module:'grpc-protobuf'
|
||||
exclude group: "com.google.protobuf", module: "protobuf-java"
|
||||
}
|
||||
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'
|
||||
api 'io.grpc:grpc-protobuf-lite:1.31.1'
|
||||
shadow localGroovy()
|
||||
shadow gradleApi()
|
||||
|
||||
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:29.0-android'
|
||||
implementation "org.projectlombok:lombok:1.18.12"
|
||||
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 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'com.google.protobuf:protobuf-javalite:3.13.0'
|
||||
|
||||
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-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 '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'
|
||||
}
|
||||
|
||||
protobuf 'com.google.api.grpc:proto-google-common-protos:2.1.0'
|
||||
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 {
|
||||
@@ -200,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
|
||||
|
||||
@@ -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 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>
|
||||
@@ -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 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 Class</li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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"> </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> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 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> 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 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> 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> 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> 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> 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 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> 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> 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> 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 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 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 void onDisconnect(java.lang.Throwable 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> in interface <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 void onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a> 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> in interface <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 void onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage 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> in interface <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 void onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a> 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> in interface <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 void onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a> 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> in interface <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 void onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a> 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> in interface <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 void onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a> 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> in interface <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 void onNotifications(com.heroiclabs.nakama.api.NotificationList 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> in interface <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 void onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a> 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> in interface <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 void onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a> 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> in interface <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 void onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a> 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> in interface <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 Class</li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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>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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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<<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#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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 <a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a> 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.lang.String 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 int 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 java.lang.String 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 boolean 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 java.util.Date 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 java.util.Date 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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<<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/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<<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/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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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<<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>></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<<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">ChannelType</span>
|
||||
extends java.lang.Enum<<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>></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"> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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> </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 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 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 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 <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 <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 <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 <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>[] 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())
|
||||
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 <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> valueOf(java.lang.String 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 int 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </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> </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> </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> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getVars--">getVars</a></span>()</code> </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> </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> </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> </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 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 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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 boolean IsExpired()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#IsExpired--">IsExpired</a></code> in interface <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 boolean isExpired(java.util.Date dateTime)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <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> in interface <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 <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a> restore(java.lang.String 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 long getCreateTime()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getCreateTime--">getCreateTime</a></code> in interface <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 long getExpireTime()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getExpireTime--">getExpireTime</a></code> in interface <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 boolean isCreated()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#isCreated--">isCreated</a></code> in interface <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 java.lang.String getUsername()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUsername--">getUsername</a></code> in interface <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 java.lang.String getUserId()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUserId--">getUserId</a></code> in interface <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 java.lang.String getAuthToken()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getAuthToken--">getAuthToken</a></code> in interface <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 java.util.Map<java.lang.String,java.lang.String> getVars()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></code> in interface <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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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<<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>></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<<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>></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<<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>></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"> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 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 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 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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>[] 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())
|
||||
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 <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> valueOf(java.lang.String 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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>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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </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 </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 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 <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> 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 java.lang.String 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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<java.util.Date></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">GsonDateDeserializer</span>
|
||||
extends java.lang.Object
|
||||
implements com.google.gson.JsonDeserializer<java.util.Date></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"> </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> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 element,
|
||||
java.lang.reflect.Type arg1,
|
||||
com.google.gson.JsonDeserializationContext arg2)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 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 java.util.Date deserialize(com.google.gson.JsonElement element,
|
||||
java.lang.reflect.Type arg1,
|
||||
com.google.gson.JsonDeserializationContext arg2)
|
||||
throws com.google.gson.JsonParseException</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code>deserialize</code> in interface <code>com.google.gson.JsonDeserializer<java.util.Date></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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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<<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#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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 boolean 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 java.lang.String 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 java.lang.String 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 int 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 <a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 byte[] 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 java.lang.String 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 long 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 <a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a> 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 boolean 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<<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/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<<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/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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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<<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#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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.util.List<<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>> 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 <a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.Double></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<java.lang.String,java.lang.String></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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.util.Map<java.lang.String,java.lang.Double> 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 <a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a> 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 java.util.Map<java.lang.String,java.lang.String> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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<<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>></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<<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">PermissionRead</span>
|
||||
extends java.lang.Enum<<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>></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"> </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> </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> </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> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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> </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 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 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 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 <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 <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 <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 <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>[] 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())
|
||||
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 <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> valueOf(java.lang.String 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 int 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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<<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>></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<<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">PermissionWrite</span>
|
||||
extends java.lang.Enum<<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>></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"> </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> </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> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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> </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 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 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 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 <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 <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 <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>[] 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())
|
||||
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 <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> valueOf(java.lang.String 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 int 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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> </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> </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> </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> </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> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></span>()</code> </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> </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> </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 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 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 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 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 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 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 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 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 isExpired(java.util.Date 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<java.lang.String,java.lang.String> 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-">addMatchmaker</a></span>(int 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-">addMatchmaker</a></span>(int minCount,
|
||||
int 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></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 minCount,
|
||||
int maxCount,
|
||||
java.lang.String 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></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 minCount,
|
||||
int maxCount,
|
||||
java.lang.String query,
|
||||
java.util.Map<java.lang.String,java.lang.String> 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>></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 minCount,
|
||||
int maxCount,
|
||||
java.lang.String query,
|
||||
java.util.Map<java.lang.String,java.lang.String> stringProperties,
|
||||
java.util.Map<java.lang.String,java.lang.Double> 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<<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/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> session,
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a> 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<<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/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> session,
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a> listener,
|
||||
boolean 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>></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<java.lang.Boolean></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<<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>></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<java.lang.String> userIds,
|
||||
java.lang.String... 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<<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>></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... 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>></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 target,
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>></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 target,
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> type,
|
||||
boolean 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>></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 target,
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> type,
|
||||
boolean persistence,
|
||||
boolean 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>></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 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>></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 matchId,
|
||||
@NonNull java.util.Map<java.lang.String,java.lang.String> 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>></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 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<java.lang.Void></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 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<java.lang.Void></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 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>></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 channelId,
|
||||
@NonNull java.lang.String 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<java.lang.Void></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 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<com.heroiclabs.nakama.api.Rpc></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 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<com.heroiclabs.nakama.api.Rpc></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 id,
|
||||
java.lang.String 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 matchId,
|
||||
long opCode,
|
||||
@NonNull byte[] 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 matchId,
|
||||
long opCode,
|
||||
@NonNull byte[] data,
|
||||
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>... 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<java.lang.Void></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... 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>></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 channelId,
|
||||
@NonNull java.lang.String messageId,
|
||||
@NonNull java.lang.String 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<java.lang.Void></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 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>></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 channelId,
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>> connect(@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a> session,
|
||||
@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a> 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<<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>> connect(@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a> session,
|
||||
@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a> listener,
|
||||
boolean 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<java.lang.Boolean> 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>> joinChat(@NonNull
|
||||
@NonNull java.lang.String target,
|
||||
@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>> joinChat(@NonNull
|
||||
@NonNull java.lang.String target,
|
||||
@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> type,
|
||||
boolean 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<<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>> joinChat(@NonNull
|
||||
@NonNull java.lang.String target,
|
||||
@NonNull
|
||||
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> type,
|
||||
boolean persistence,
|
||||
boolean 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<java.lang.Void> leaveChat(@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>> removeChatMessage(@NonNull
|
||||
@NonNull java.lang.String channelId,
|
||||
@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>> writeChatMessage(@NonNull
|
||||
@NonNull java.lang.String channelId,
|
||||
@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>> updateChatMessage(@NonNull
|
||||
@NonNull java.lang.String channelId,
|
||||
@NonNull
|
||||
@NonNull java.lang.String messageId,
|
||||
@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>> 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>> joinMatch(@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>> joinMatch(@NonNull
|
||||
@NonNull java.lang.String matchId,
|
||||
@NonNull
|
||||
@NonNull java.util.Map<java.lang.String,java.lang.String> 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<<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>> joinMatchToken(@NonNull
|
||||
@NonNull java.lang.String 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<java.lang.Void> leaveMatch(@NonNull
|
||||
@NonNull java.lang.String 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> addMatchmaker(int 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> addMatchmaker(int minCount,
|
||||
int 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> addMatchmaker(int minCount,
|
||||
int maxCount,
|
||||
java.lang.String 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> addMatchmaker(int minCount,
|
||||
int maxCount,
|
||||
java.lang.String query,
|
||||
java.util.Map<java.lang.String,java.lang.String> 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<<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>> addMatchmaker(int minCount,
|
||||
int maxCount,
|
||||
java.lang.String query,
|
||||
java.util.Map<java.lang.String,java.lang.String> stringProperties,
|
||||
java.util.Map<java.lang.String,java.lang.Double> 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<java.lang.Void> removeMatchmaker(@NonNull
|
||||
@NonNull java.lang.String 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 sendMatchData(@NonNull
|
||||
@NonNull java.lang.String matchId,
|
||||
long opCode,
|
||||
@NonNull
|
||||
@NonNull byte[] 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 sendMatchData(@NonNull
|
||||
@NonNull java.lang.String matchId,
|
||||
long opCode,
|
||||
@NonNull
|
||||
@NonNull byte[] data,
|
||||
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>... 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<com.heroiclabs.nakama.api.Rpc> rpc(@NonNull
|
||||
@NonNull java.lang.String 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<com.heroiclabs.nakama.api.Rpc> rpc(@NonNull
|
||||
@NonNull java.lang.String id,
|
||||
java.lang.String 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<<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>> followUsers(@NonNull
|
||||
java.lang.String... 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<<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>> followUsers(java.util.List<java.lang.String> userIds,
|
||||
java.lang.String... 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<java.lang.Void> unfollowUsers(@NonNull
|
||||
java.lang.String... 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<java.lang.Void> updateStatus(java.lang.String 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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 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> 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 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> 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> 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> 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> 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 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> 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> 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> 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 onDisconnect(java.lang.Throwable 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 onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a> 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 onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage 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 onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a> 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 onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a> 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 onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a> 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 onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a> 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 onNotifications(com.heroiclabs.nakama.api.NotificationList 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 onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a> 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 onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a> 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 onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a> 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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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>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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<<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/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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<<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/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<<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/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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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"> </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<java.lang.String> userIds)</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#getUserIds--">getUserIds</a></span>()</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 StatusUnfollowMessage(java.util.List<java.lang.String> 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 java.util.List<java.lang.String> getUserIds()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="equals-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>equals</h4>
|
||||
<pre>public boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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"> </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 collection)</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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 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 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 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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 StorageObjectId(java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 void setKey(java.lang.String 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 void setVersion(java.lang.String 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 void setUserId(java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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"> </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 collection,
|
||||
java.lang.String key,
|
||||
java.lang.String value,
|
||||
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> permissionRead,
|
||||
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> permissionWrite)</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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 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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 StorageObjectWrite(java.lang.String collection,
|
||||
java.lang.String key,
|
||||
java.lang.String value,
|
||||
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> permissionRead,
|
||||
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> 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 <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> 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 java.lang.String 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 void setVersion(java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.lang.String 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 java.lang.String 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 int 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 java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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,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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 <a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a> 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 java.lang.String 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 <a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a> 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 boolean 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.util.List<<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/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<<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/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> </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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 java.util.List<<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>> 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 <a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a> 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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"> </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> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 other)</code> </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 o)</code> </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> </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 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 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 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 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 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> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class 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 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 boolean 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 java.lang.String 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 void setPersistence(boolean 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 void setSessionId(java.lang.String 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 void setStatus(java.lang.String 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 void setUsername(java.lang.String 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 void setUserId(java.lang.String 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 boolean equals(java.lang.Object o)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>equals</code> in class <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 boolean canEqual(java.lang.Object other)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hashCode--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hashCode</h4>
|
||||
<pre>public int hashCode()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <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 Class</span></a></li>
|
||||
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </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 Package</li>
|
||||
<li>Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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 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"> </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"> </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"> </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"> </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 Package</li>
|
||||
<li>Next 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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<T>)</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<E> (implements java.lang.Comparable<T>, 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../allclasses-noframe.html">All 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,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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All 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"> </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 static final 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 static final 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All 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,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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All 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,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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All 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
File diff suppressed because it is too large.
Load diff
@@ -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>
|
||||
@@ -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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All 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<T>)</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<E> (implements java.lang.Comparable<T>, 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All 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 @@
|
||||
com.heroiclabs.nakama
|
||||
@@ -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>";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All 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 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 Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All 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,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;
|
||||
}
|
||||
@@ -17,10 +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
|
||||
|
||||
|
||||
@@ -29,6 +40,7 @@ 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
|
||||
@@ -43,3 +55,4 @@ 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 ${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
|
||||
Vendored
BIN
Binary file not shown.
+3
-1
@@ -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
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# This file is generated by the 'io.freefair.lombok' Gradle plugin
|
||||
config.stopBubbling = true
|
||||
@@ -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;
|
||||
}
|
||||
File renamed without changes.
+3
-3
@@ -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 {
|
||||
|
||||
/**
|
||||
+1
-1
@@ -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;
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
+1
-1
@@ -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;
|
||||
+3
-3
@@ -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.
|
||||
+3
-3
@@ -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.
|
||||
+1
-1
@@ -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;
|
||||
+1
-1
@@ -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;
|
||||
File renamed without changes.
+1
-1
@@ -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;
|
||||
+11
-10
@@ -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.
|
||||
+48
-45
@@ -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);
|
||||
+3
@@ -18,6 +18,9 @@ package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* All errors exposed by the client library.
|
||||
*/
|
||||
@Getter
|
||||
@ToString
|
||||
class DefaultError extends Error {
|
||||
+5
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
File renamed without changes.
+1
-1
@@ -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> {
|
||||
+3
-3
@@ -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.
|
||||
+1
-1
@@ -18,9 +18,9 @@ package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
/**
|
||||
* A create message for a match on the server.
|
||||
*/
|
||||
@Data
|
||||
class MatchCreateMessage {
|
||||
}
|
||||
+3
-3
@@ -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.
|
||||
+1
-1
@@ -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;
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
+3
-3
@@ -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.
|
||||
+1
-1
@@ -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;
|
||||
+1
-1
@@ -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;
|
||||
+4
-4
@@ -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.
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
+3
-3
@@ -18,13 +18,13 @@ package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* The matchmaker ticket received from the server.
|
||||
*/
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* The matchmaker ticket received from the server.
|
||||
*/
|
||||
public class MatchmakerTicket {
|
||||
/**
|
||||
* The ticket generated by the matchmaker.
|
||||
+3
-3
@@ -20,13 +20,13 @@ import lombok.*;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* The user with the parameters they sent to the server when asking for opponents.
|
||||
*/
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* The user with the parameters they sent to the server when asking for opponents.
|
||||
*/
|
||||
public class MatchmakerUser {
|
||||
/**
|
||||
* The numeric properties which this user asked to matchmake with.
|
||||
+4
-4
@@ -20,14 +20,14 @@ import lombok.*;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* A notification object.
|
||||
*/
|
||||
// This message type is only used for GSON, and not exposed to the Client interface.
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
class Notification {
|
||||
private String id;
|
||||
private String subject;
|
||||
+4
-4
@@ -20,14 +20,14 @@ import lombok.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* List of notifications with cursor.
|
||||
*/
|
||||
// This message type is only used for GSON, and not exposed to the Client interface.
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
class NotificationList {
|
||||
private List<Notification> notifications;
|
||||
private String cacheableCursor;
|
||||
+4
-1
@@ -16,6 +16,9 @@
|
||||
|
||||
package com.heroiclabs.nakama;
|
||||
|
||||
/**
|
||||
* Storage read permissions.
|
||||
*/
|
||||
public enum PermissionRead {
|
||||
NO_READ(0),
|
||||
OWNER_READ(1),
|
||||
@@ -29,4 +32,4 @@ public enum PermissionRead {
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
@@ -16,6 +16,9 @@
|
||||
|
||||
package com.heroiclabs.nakama;
|
||||
|
||||
/**
|
||||
* Storage write permissions.
|
||||
*/
|
||||
public enum PermissionWrite {
|
||||
NO_READ(0),
|
||||
OWNER_WRITE(1);
|
||||
+2
-2
@@ -18,12 +18,12 @@ package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
/**
|
||||
* RPC message.
|
||||
*/
|
||||
// This message type is only used for GSON, and not exposed to the Client interface.
|
||||
@Data
|
||||
class RpcMessage {
|
||||
private String id;
|
||||
private String payload;
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -29,7 +29,7 @@ public interface Session {
|
||||
String getAuthToken();
|
||||
|
||||
/**
|
||||
* @return <c>True</c> if the user account for this session was just created.
|
||||
* @return True if the user account for this session was just created.
|
||||
*/
|
||||
boolean isCreated();
|
||||
|
||||
@@ -44,7 +44,7 @@ public interface Session {
|
||||
long getExpireTime();
|
||||
|
||||
/**
|
||||
* @return <c>True</c> if the session has expired against the current time.
|
||||
* @return True if the session has expired against the current time.
|
||||
*/
|
||||
boolean IsExpired();
|
||||
|
||||
@@ -61,7 +61,7 @@ public interface Session {
|
||||
/**
|
||||
* Check if the session has expired against the input time.
|
||||
* @param dateTime The time to compare against the session.
|
||||
* @return <c>true</c> if the session has expired.
|
||||
* @return true if the session has expired.
|
||||
*/
|
||||
boolean isExpired(Date dateTime);
|
||||
|
||||
+4
-1
@@ -23,6 +23,9 @@ import lombok.NonNull;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A socket connection to the server.
|
||||
*/
|
||||
public interface SocketClient {
|
||||
/**
|
||||
* Connect to the server.
|
||||
@@ -214,7 +217,7 @@ public interface SocketClient {
|
||||
/**
|
||||
* Leave the matchmaker pool by ticket.
|
||||
*
|
||||
* @param ticket The ticket returned by the matchmaker on join. See <c>IMatchmakerTicket.Ticket</c>.
|
||||
* @param ticket The ticket returned by the matchmaker on join. See IMatchmakerTicket.Ticket.
|
||||
* @return A future.
|
||||
*/
|
||||
ListenableFuture<Void> removeMatchmaker(@NonNull final String ticket);
|
||||
+1
-1
@@ -26,7 +26,7 @@ public interface SocketListener {
|
||||
/**
|
||||
* Called when the client socket disconnects.
|
||||
*
|
||||
* Throwable t is set if an error caused the disconnect.
|
||||
* @param t Throwable t is set if an error caused the disconnect.
|
||||
*/
|
||||
void onDisconnect(final Throwable t);
|
||||
|
||||
+3
-3
@@ -20,13 +20,13 @@ import lombok.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Receive status updates for users.
|
||||
*/
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* Receive status updates for users.
|
||||
*/
|
||||
public class Status {
|
||||
/**
|
||||
* The status events for the users followed.
|
||||
+1
-1
@@ -20,10 +20,10 @@ import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
/**
|
||||
* Follow one or more other users for status updates.
|
||||
*/
|
||||
@Data
|
||||
class StatusFollowMessage {
|
||||
private final List<String> userIds;
|
||||
private final List<String> usernames;
|
||||
+3
-3
@@ -20,13 +20,13 @@ import lombok.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A status update event about other users who've come online or gone offline.
|
||||
*/
|
||||
@Getter
|
||||
@EqualsAndHashCode
|
||||
@ToString
|
||||
@NoArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
/**
|
||||
* A status update event about other users who've come online or gone offline.
|
||||
*/
|
||||
public class StatusPresenceEvent {
|
||||
|
||||
/**
|
||||
+1
-1
@@ -20,10 +20,10 @@ import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
/**
|
||||
* Unfollow one or more other users for status updates.
|
||||
*/
|
||||
@Data
|
||||
public class StatusUnfollowMessage {
|
||||
private final List<String> userIds;
|
||||
}
|
||||
+1
-1
@@ -18,10 +18,10 @@ package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
/**
|
||||
* Update the status of the current user.
|
||||
*/
|
||||
@Data
|
||||
class StatusUpdateMessage {
|
||||
private final String status;
|
||||
}
|
||||
Loaded 100 of 131 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user