Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ec9b27cdf | ||
|
|
32a2a01325 | ||
|
|
a98c6cb998 | ||
|
|
3237873ce1 | ||
|
|
04bf397414 | ||
|
|
3a2aafb524 | ||
|
|
07701f96d6 | ||
|
|
7bd15200c2 | ||
|
|
243b58d4b4 | ||
|
|
885037a4ba | ||
|
|
cbb5ffca30 | ||
|
|
93c83702e4 | ||
|
|
34b4c97677 | ||
|
|
08587dcdec | ||
|
|
71c5b7fd5c | ||
|
|
cacb383dd7 | ||
|
|
ba95f1af66 | ||
|
|
9e577bf82b | ||
|
|
4cc4cd495f | ||
|
|
49d64ee299 | ||
|
|
30db17a0ce | ||
|
|
76b4af4d14 | ||
|
|
aa9c651bad | ||
|
|
8a17d367e8 | ||
|
|
bad7ba5ab5 | ||
|
|
4a7ad24fe8 | ||
|
|
60cdc891e3 | ||
|
|
b93b814550 | ||
|
|
8090c059e9 | ||
|
|
a83e4626cf | ||
|
|
8669697d95 | ||
|
|
308d5cf6a7 | ||
|
|
7ad14bee4a | ||
|
|
e7c0d9d05e | ||
|
|
98c59ca363 | ||
|
|
08cc768111 | ||
|
|
30a24ff7ab | ||
|
|
724d882ef4 | ||
|
|
26fc0acad3 | ||
|
|
85f1080964 | ||
|
|
3dde5b3baf | ||
|
|
6c95cc5b55 | ||
|
|
ce4caaa886 | ||
|
|
d3370a2c8f | ||
|
|
1eba9430d9 | ||
|
|
fe18af2e3d | ||
|
|
3793d17bb3 | ||
|
|
2fa7356b0e | ||
|
|
01364ccf68 | ||
|
|
88bcef0d15 | ||
|
|
b8786c50a6 | ||
|
|
e69126532d | ||
|
|
a06d1c62f5 | ||
|
|
46ba09b80b | ||
|
|
e125f80a13 | ||
|
|
d771de35c1 | ||
|
|
15456d4e8c | ||
|
|
2222f178a6 | ||
|
|
e46d122d2d | ||
|
|
dc96afe168 | ||
|
|
0b839aaea1 | ||
|
|
3814e6e63a | ||
|
|
d1744b1718 | ||
|
|
89f991b3fb | ||
|
|
4b0922cfd0 | ||
|
|
7a001c21dc | ||
|
|
8b21f78867 | ||
|
|
cb1340d4e6 | ||
|
|
2b47a12a8e | ||
|
|
fc88aba004 | ||
|
|
f7eacd10bd | ||
|
|
ea616f9c93 | ||
|
|
610f177395 | ||
|
|
92ca9f61bc | ||
|
|
37c731878d | ||
|
|
8a7172d8ac | ||
|
|
d4d632aa71 | ||
|
|
991d78b21d | ||
|
|
8c49666f58 | ||
|
|
ed8a11e7de | ||
|
|
4dad9c08ff | ||
|
|
2c209a8848 | ||
|
|
1d2f2132a6 | ||
|
|
a3026badf1 | ||
|
|
ad4cc6c61a | ||
|
|
a063bb6f56 | ||
|
|
cd4ea151c4 | ||
|
|
64a5bdc732 | ||
|
|
642d61bdef | ||
|
|
b1e80ad51f | ||
|
|
e1d754c52e | ||
|
|
fc5f8d2adc | ||
|
|
983c4e9fa2 | ||
|
|
e55764710b | ||
|
|
d29a58f0cc | ||
|
|
4867fca44a | ||
|
|
323bd5f502 | ||
|
|
9aa46b8312 | ||
|
|
4fb96c7182 | ||
|
|
b15777f196 | ||
|
|
747c31aee3 | ||
|
|
54faa2d1f8 | ||
|
|
55b69d693d | ||
|
|
113d21a1e1 | ||
|
|
95a8571b4c | ||
|
|
b8de50d4e0 | ||
|
|
11d758e48c | ||
|
|
6e8e08519b | ||
|
|
0e3e237656 | ||
|
|
8cd7bd7e71 | ||
|
|
d9c2ffe343 | ||
|
|
5f044e2cf7 | ||
|
|
55119792d9 | ||
|
|
38362c56ef | ||
|
|
4f43a4acb9 | ||
|
|
6fc77a2b23 | ||
|
|
5922d7e655 | ||
|
|
5f54b0a385 | ||
|
|
e9838c710b | ||
|
|
225edc9db8 | ||
|
|
f36998356c | ||
|
|
dcd0a7ee4e | ||
|
|
99a822c13a |
No files matched your search
@@ -1,5 +1,7 @@
|
||||
# Created by https://www.gitignore.io/api/git,java,macos,linux,gradle,eclipse,windows,sublimetext,intellij+all,intellij+iml
|
||||
|
||||
**/build
|
||||
|
||||
### Custom ###
|
||||
.BINTRAY
|
||||
|
||||
@@ -282,14 +284,13 @@ $RECYCLE.BIN/
|
||||
*.lnk
|
||||
|
||||
### Gradle ###
|
||||
.gradle
|
||||
/build/
|
||||
**/.gradle
|
||||
|
||||
# Ignore Gradle GUI config
|
||||
gradle-app.setting
|
||||
**/gradle-app.setting
|
||||
|
||||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||
!gradle-wrapper.jar
|
||||
**/gradle-wrapper.jar
|
||||
|
||||
# Cache of project
|
||||
.gradletasknamecache
|
||||
@@ -298,3 +299,6 @@ gradle-app.setting
|
||||
# gradle/wrapper/gradle-wrapper.properties
|
||||
|
||||
# End of https://www.gitignore.io/api/git,java,macos,linux,gradle,eclipse,windows,sublimetext,intellij+all,intellij+iml
|
||||
|
||||
# Maven
|
||||
**/target
|
||||
@@ -1,3 +0,0 @@
|
||||
[submodule "server"]
|
||||
path = server
|
||||
url = [email protected]:heroiclabs/nakama.git
|
||||
@@ -6,10 +6,139 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.3.0] - 2023-07-18
|
||||
|
||||
### Added
|
||||
- Satori: Adds HTTP support to the Satori client via using the `HttpClient` instead of the grpc-based `DefaultClient`.
|
||||
- Satori: Added ability to specify default flag value in `GetFlag` calls.
|
||||
|
||||
### Fixed
|
||||
- Satori: Fixed handling of network errors when calling `GetDefaultFlag` and returning of default flag value in such cases.
|
||||
|
||||
## [2.2.1] - 2023-07-07
|
||||
### Fixed
|
||||
- Fixed packing of external dependencies into fat jars.
|
||||
- Removed unnecessary generated protobuf code from Satori, resulting in a smaller .jar file.
|
||||
- Fixed links to documentation in pom.xml.
|
||||
|
||||
## [2.2.0] - 2023-07-06
|
||||
### Added
|
||||
- Adds the Satori Java SDK. Satori is our liveops server for game studios. Please read more about it on the Heroic Labs website.
|
||||
|
||||
### Changed
|
||||
- Update shadow to 8.1.1
|
||||
- Update to Gradle 8.2.0.
|
||||
|
||||
## [2.1.4] - 2021-4-20
|
||||
### Fixed
|
||||
- protobuf-lite is now properly exported to Maven and Gradle projects.
|
||||
|
||||
## [2.1.3] - 2021-3-16
|
||||
### Fixed
|
||||
- Dispatch error callback when socket connect fails.
|
||||
|
||||
## [2.1.2] - 2021-3-16
|
||||
### Fixed
|
||||
- Properly enable protobuf-javalite for Android builds.
|
||||
|
||||
## [2.1.1] - 2021-02-17
|
||||
### Changed
|
||||
- Allowed null values of `collationId` to be passed to the `DefaultError` object.
|
||||
|
||||
## [2.1.0] - 2020-01-25
|
||||
|
||||
### Added
|
||||
- Added configurable ping frame intervals to Web Socket.
|
||||
- Ability to demote group users.
|
||||
- Ability to authenticate link and unlink Facebook Instant Game and Apple users
|
||||
- Example Android, Gradle and Maven projects.
|
||||
- Shadow Jar support.
|
||||
- Ability to customize the web socket message receive thread executor.
|
||||
|
||||
### Changed
|
||||
- We now use JitPack as our new build repository. Please see the README.md
|
||||
for instructions on how to integrate our package with your build system.
|
||||
- Removed transitive dependency on Protobuf-Java.
|
||||
- Moved all external .proto dependencies into this repository.
|
||||
- Upgraded from Gradle 4 to Gradle 6.
|
||||
- Upgraded third party dependencies to newer versions.
|
||||
|
||||
### Fixed
|
||||
- Fixed incorrect time being parsed from timestamps.
|
||||
- Fixed bugs in Tournaments test suite.
|
||||
- Fixed UTC parsing.
|
||||
|
||||
## [2.0.4] - 2020-01-23
|
||||
### Added
|
||||
- Updated gRPC, GSON and Lombok dependencies.
|
||||
|
||||
## [2.0.3] - 2019-10-25
|
||||
### Added
|
||||
- More ways to create a socket connection.
|
||||
|
||||
### Fixed
|
||||
- Correctly decode UserPresence from payload.
|
||||
|
||||
## [2.0.2] - 2019-10-14
|
||||
### Added
|
||||
- Add support for session vars.
|
||||
- Add support for sending metadata when joining a match with an ID.
|
||||
- Add pagination support for friends and groups.
|
||||
|
||||
## [2.0.1] - 2019-06-19
|
||||
### Added
|
||||
- Add support for listing expired leaderboard/tournament records.
|
||||
|
||||
## [2.0.0] - 2019-03-29
|
||||
### Added
|
||||
- Support for Nakama 2.
|
||||
|
||||
## [0.5.1] - 2017-12-07
|
||||
### Fixed
|
||||
- Build storage update messages with valid operations.
|
||||
|
||||
## [0.5.0] - 2017-11-21
|
||||
### Added
|
||||
- Support for In-App Notifications feature.
|
||||
- Support for Friends feature.
|
||||
- Support for Groups feature.
|
||||
|
||||
### Changed
|
||||
- Leaderboard sort order is now exposed as an enum rather than a number.
|
||||
|
||||
### Fixed
|
||||
- Use correct name for inconsistently defined topic leave message builder method.
|
||||
|
||||
## [0.4.0] - 2017-11-07
|
||||
### Changed
|
||||
- Expose a simpler interface for identifier fields.
|
||||
|
||||
## [0.3.0] - 2017-10-17
|
||||
### Added
|
||||
- Advanced Matchmaking with custom filters and user properties.
|
||||
|
||||
### Fixed
|
||||
- Improved errors to contain the underlying error reason.
|
||||
|
||||
## [0.2.0] - 2017-09-24
|
||||
### Added
|
||||
- Leaderboard messages.
|
||||
- Matchmaking messages.
|
||||
- Match messsages.
|
||||
- Match presence updates.
|
||||
- Topic messages.
|
||||
- Topic presence updates.
|
||||
|
||||
## [0.1.2] - 2017-09-02
|
||||
### Fixed
|
||||
- Pin transitive SLF4J dependency on 1.7.* stable release.
|
||||
- Use "okio.ByteString" rather than "java.util.Base64" for base64 support.
|
||||
|
||||
## [0.1.1] - 2017-08-14
|
||||
### Fixed
|
||||
- Correctly expose
|
||||
- Correctly expose builder functions to external packages.
|
||||
|
||||
## [0.1.0] - 2017-08-13
|
||||
### Added
|
||||
- Initial public release.
|
||||
|
||||
@@ -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.
|
||||
@@ -3,35 +3,82 @@ Nakama Java
|
||||
|
||||
> Android optimized Java client for Nakama server.
|
||||
|
||||
Nakama is an [open-source](https://github.com/heroiclabs/nakama) distributed server for social and realtime games and apps. For more information have a look at the [documentation](https://heroiclabs.com/docs/).
|
||||
[Nakama](https://github.com/heroiclabs/nakama) is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much [more](https://heroiclabs.com).
|
||||
|
||||
This client implements the protocol and all features available in the server. It is compatible with Java 1.7+ and Android 2.3+. The [Javadocs](https://heroiclabs.github.io/nakama-java/current/) for the client are maintained on GitHub Pages.
|
||||
This client implements the full API and socket options with the server. It's written in C# with minimal dependencies to support Unity, Xamarin, Godot, XNA, and other engines and frameworks.
|
||||
|
||||
If you encounter any issues with the server you can generate diagnostics for us with the [doctor](https://heroiclabs.com/docs/install-server-cli/#doctor) subcommand. Send these to support@heroiclabs.com or [open an issue](https://github.com/heroiclabs/nakama/issues). If you experience any issues with the client, it can be useful to [enable trace](https://heroiclabs.com/docs/android-java-client-guide/#logs-and-errors) to produce detailed logs and [open an issue](https://github.com/heroiclabs/nakama-java/issues).
|
||||
Full documentation is online - https://heroiclabs.com/docs
|
||||
|
||||
## Usage
|
||||
## Getting Started
|
||||
|
||||
The client can be downloaded from [GitHub releases](https://github.com/heroiclabs/nakama-java/releases). You can download "nakama-java-$version.jar" or "nakama-java-$version-all.jar" which includes a shadowed copy of all dependencies.
|
||||
You'll need to setup the server and database before you can connect with the client. The simplest way is to use Docker but have a look at the [server documentation](https://github.com/heroiclabs/nakama#getting-started) for other options.
|
||||
|
||||
If you use a build tool like Gradle you can skip the download and fetch it from the central repository.
|
||||
1. Install and run the servers. Follow these [instructions](https://heroiclabs.com/docs/install-docker-quickstart).
|
||||
|
||||
2. The Java SDK can be imported with either Grade or Maven through [Jitpack](https://jitpack.io/).
|
||||
|
||||
### Gradle
|
||||
|
||||
```groovy
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://dl.bintray.com/heroiclabs/default/'
|
||||
url 'https://jitpack.io'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(group: 'com.heroiclabs.nakama', name: 'client', version: '+')
|
||||
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>'
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
We have a guide which covers how to use the client with lots of code examples:
|
||||
### Maven
|
||||
|
||||
https://heroiclabs.com/docs/android-java-client-guide/
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
To create a client which can connect to the Nakama server with the default settings.
|
||||
...
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.heroiclabs.nakama-java</groupId>
|
||||
<artifactId>nakama-java</artifactId>
|
||||
<version>_commit_</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
```
|
||||
|
||||
Or, if you would like to depend on a fat JAR with Maven:
|
||||
|
||||
```xml
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.heroiclabs.nakama-java</groupId>
|
||||
<artifactId>nakama-java-all</artifactId>
|
||||
<version>_commit_</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
||||
Alternatively, you can download the client from the [releases page](https://github.com/heroiclabs/nakama-java/releases) and import it into your project. You can also [build from source](#source-builds).
|
||||
|
||||
You can view full integration examples in the examples folder.
|
||||
|
||||
3. Use the connection credentials to build a client object.
|
||||
|
||||
```java
|
||||
import com.heroiclabs.nakama.Client;
|
||||
@@ -40,15 +87,126 @@ public class NakamaSessionManager {
|
||||
private final Client client;
|
||||
|
||||
public NakamaSessionManager() {
|
||||
client = DefaultClient.builder("defaultkey")
|
||||
.host("127.0.0.1")
|
||||
.port(7350)
|
||||
.ssl(false)
|
||||
.build();
|
||||
client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The client object has many methods to execute various features in the server or open realtime socket connections with the server.
|
||||
|
||||
### Authenticate
|
||||
|
||||
There's a variety of ways to [authenticate](https://heroiclabs.com/docs/authentication) with the server. Authentication can create a user if they don't already exist with those credentials. It's also easy to authenticate with a social profile from Google Play Games, Facebook, Game Center, etc.
|
||||
|
||||
```java
|
||||
String email = "[email protected]";
|
||||
String password = "batsignal";
|
||||
Session session = client.authenticateEmail(email, password).get();
|
||||
System.out.println(session);
|
||||
```
|
||||
|
||||
### Sessions
|
||||
|
||||
When authenticated the server responds with an auth token (JWT) which contains useful properties and gets deserialized into a `Session` object.
|
||||
|
||||
```java
|
||||
System.out.println(session.getAuthToken()); // raw JWT token
|
||||
System.out.println(session.getUserId());
|
||||
System.out.println(session.getUsername());
|
||||
System.out.println("Session has expired: " + session.isExpired());
|
||||
System.out.println("Session expires at: " + session.getExpireTime());
|
||||
```
|
||||
|
||||
It is recommended to store the auth token from the session and check at startup if it has expired. If the token has expired you must reauthenticate. The expiry time of the token can be changed as a setting in the server.
|
||||
|
||||
```java
|
||||
String authtoken = "restored from somewhere";
|
||||
Session session = DefaultSession.restore(authtoken);
|
||||
if (session.isExpired()) {
|
||||
System.out.println("Session has expired. Must reauthenticate!");
|
||||
}
|
||||
```
|
||||
|
||||
### Requests
|
||||
|
||||
The client includes lots of builtin APIs for various features of the game server. These can be accessed with the async methods. It can also call custom logic as RPC functions on the server. These can also be executed with a socket object.
|
||||
|
||||
All requests are sent with a session object which authorizes the client.
|
||||
|
||||
```java
|
||||
Account account = client.getAccount(session);
|
||||
System.out.println(account.getUser().getId());
|
||||
System.out.println(account.getUser().getUsername());
|
||||
System.out.println(account.getWallet());
|
||||
```
|
||||
|
||||
### Socket
|
||||
|
||||
The client can create one or more sockets with the server. Each socket can have it's own event listeners registered for responses received from the server.
|
||||
|
||||
```java
|
||||
String host = "localhost";
|
||||
int port = 7350; // different port to the main API port
|
||||
boolean ssl = false;
|
||||
SocketClient socket = client.createSocket(host, port, ssl);
|
||||
ClientListener listener = new AbstractClientListener() {
|
||||
@Override
|
||||
public void onDisconnect(final Throwable t) {
|
||||
System.out.println("Socket disconnected");
|
||||
}
|
||||
};
|
||||
socket.connect(session, listener).get();
|
||||
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.
|
||||
@@ -61,14 +219,53 @@ 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.7+
|
||||
* Java Development Kit 1.7+
|
||||
* Gradle build tool
|
||||
* Java Runtime Environment 1.8 through 1.11
|
||||
* Java Development Kit 1.8 through 1.11
|
||||
|
||||
The Gradle project is setup to download and manage the Google Protocol buffers compiler toolchain automatically and generate Protobuf Lite definitions required by the source code.
|
||||
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 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 nakamaShadowJar` or `./gradlew satoriShadowJar`.
|
||||
|
||||
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:
|
||||
|
||||
`./gradlew publishToMavenLocal`
|
||||
|
||||
### Protobuf Sourcing
|
||||
|
||||
If you need to re-download all .proto dependenies, run `./download-protos` from the root of this repository.
|
||||
|
||||
### Jitpack
|
||||
|
||||
Jitpack makes builds of each commit on its own servers. You can view the results of each build and the corresponding artifacts at the following url:
|
||||
|
||||
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:
|
||||
|
||||
```
|
||||
$> gradle build
|
||||
cd nakama-java/src/main/com/heroiclabs/nakama
|
||||
javadoc *.java
|
||||
```
|
||||
|
||||
Run "gradle tasks" for a list of available build tasks.
|
||||
### License
|
||||
|
||||
This project is licensed under the [Apache-2 License](https://github.com/heroiclabs/nakama-dotnet/blob/master/LICENSE).
|
||||
@@ -1,6 +1,7 @@
|
||||
## Release Instructions
|
||||
|
||||
The current release infrastructure is built into the project's [build.gradle](https://github.com/heroiclabs/nakama-java/blob/master/build.gradle). You'll need both the JDK 1.7+ and `gradle` installed to generate release packages which can be uploaded to GitHub and deployed to `"jcenter"`.
|
||||
The current release infrastructure is built into the project's [build.gradle](https://github.com/heroiclabs/nakama-java/blob/master/build.gradle). You'll need both the
|
||||
JDK 1.8+ and `gradle` installed to generate release packages which can be uploaded to GitHub and deployed to `"jcenter"`.
|
||||
|
||||
### New releases
|
||||
|
||||
@@ -18,13 +19,14 @@ The development team use these steps to build and upload a release.
|
||||
|
||||
1. Update the `CHANGELOG.md`.
|
||||
|
||||
Make sure to add the relevant "Added", "Changed", "Deprecated", "Removed", "Fixed", and "Security" sections as suggested by [keep a changelog](http://keepachangelog.com).
|
||||
Make sure to add the relevant "Added", "Changed", "Deprecated", "Removed", "Fixed", and "Security" sections as suggested by [keep a
|
||||
changelog](http://keepachangelog.com).
|
||||
|
||||
2. Update version in `build.gradle` and commit. i.e. `version = '0.1.0'` should become `version = '0.2.0'`.
|
||||
2. Update version in `build.gradle` and commit. For example: `version = '2.0.0'` should become `version = '2.1.0'`.
|
||||
|
||||
```
|
||||
git add build.gradle CHANGELOG.md
|
||||
git commit -m "Nakama Java 0.2.0 release."
|
||||
git commit -m "Nakama Java 2.0.0 release."
|
||||
```
|
||||
|
||||
3. Tag the release.
|
||||
@@ -32,34 +34,19 @@ The development team use these steps to build and upload a release.
|
||||
__Note__ In source control good semver suggests a `"v"` prefix on a version. It helps group release tags.
|
||||
|
||||
```
|
||||
git tag -a v0.2.0 -m "v0.2.0"
|
||||
git push origin v0.2.0
|
||||
git tag -a v2.0.0 -m "v2.0.0"
|
||||
git push origin v2.0.0
|
||||
```
|
||||
|
||||
4. You can upload the release onto <a href="https://bintray.com/bintray/jcenter" target="\_blank">jcenter</a>. You must set the values in `"gradle.properties"` to your Bintray credentials.
|
||||
4. Login and create a [new draft release](https://github.com/heroiclabs/nakama-java/releases/new) on GitHub. Repeat the changelog in the release description. Then publish
|
||||
the release.
|
||||
|
||||
```
|
||||
gradle -PvcsTag="v0.2.0" bintrayUpload
|
||||
```
|
||||
|
||||
5. Login and create a [new draft release](https://github.com/heroiclabs/nakama-java/releases/new) on GitHub. Repeat the changelog in the release description. Then publish the release.
|
||||
|
||||
6. Add the previous version of the docs to the `"preserve"` closure in the build script. Deploy the latest Javadoc to GitHub Pages.
|
||||
|
||||
```
|
||||
preserve {
|
||||
include '0.1.0/**'
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
gradle gitPublishPush
|
||||
```
|
||||
|
||||
7. Add new `## [Unreleased]` section to start of `CHANGELOG.md`. Increment version in `build.gradle` and commit. i.e. `version = '0.2.0'` should now become `version = '0.3.0'`.
|
||||
5. Add new `## [Unreleased]` section to start of `CHANGELOG.md`. Increment version in `build.gradle` and commit. i.e. `version = '2.0.0'` should now become `version =
|
||||
'2.1.0'`.
|
||||
|
||||
```
|
||||
git add build.gradle CHANGELOG.md
|
||||
git commit -m "Set new development version."
|
||||
git push origin master
|
||||
```
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017 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,22 +14,175 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '2.0.1'
|
||||
id 'com.google.protobuf' version '0.8.2'
|
||||
id 'com.jfrog.bintray' version '1.7.3'
|
||||
id 'org.ajoberstar.git-publish' version '0.3.0'
|
||||
id 'java'
|
||||
id 'idea'
|
||||
id 'maven-publish'
|
||||
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
|
||||
buildscript {
|
||||
repositories {
|
||||
// where to resolve the dependencies
|
||||
maven {
|
||||
url 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
|
||||
}
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.18'
|
||||
}
|
||||
}
|
||||
|
||||
group = 'com.heroiclabs.nakama'
|
||||
version = '0.1.1'
|
||||
def description = 'Android optimized Java client for Nakama server.'
|
||||
plugins {
|
||||
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 'maven-publish'
|
||||
id 'java'
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
lombok {
|
||||
version = '1.18.12'
|
||||
}
|
||||
|
||||
group = 'com.github.heroiclabs'
|
||||
version = '2.3.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
// where to pull dependencies from
|
||||
maven {
|
||||
url 'https://maven-central.storage-download.googleapis.com/repos/central/data/'
|
||||
}
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
configurations {
|
||||
sharedProtobuf.extendsFrom protobuf
|
||||
sharedApi.extendsFrom api
|
||||
sharedImplementation.extendsFrom implementation
|
||||
sharedTestImplementation.extendsFrom testImplementation
|
||||
}
|
||||
|
||||
dependencies {
|
||||
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:31.0.1-android'
|
||||
implementation 'com.google.protobuf:protobuf-java:3.19.6'
|
||||
implementation 'com.google.protobuf:protobuf-java-util:3.19.6'
|
||||
|
||||
implementation('io.grpc:grpc-okhttp:1.48.0') {
|
||||
exclude group: 'com.squareup.okio', module:'okio'
|
||||
}
|
||||
|
||||
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'
|
||||
|
||||
protobuf 'com.google.api.grpc:proto-google-common-protos:2.7.1'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
}
|
||||
|
||||
tasks.named('shadowJar', ShadowJar) {
|
||||
enableRelocation true
|
||||
relocationPrefix 'heroiclabs'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
nakama {
|
||||
java {
|
||||
srcDirs 'src/nakama/java'
|
||||
compileClasspath += configurations.sharedImplementation
|
||||
compileClasspath += configurations.sharedApi
|
||||
compileClasspath += configurations.sharedProtobuf
|
||||
runtimeClasspath += configurations.sharedImplementation
|
||||
runtimeClasspath += configurations.sharedApi
|
||||
runtimeClasspath += configurations.sharedProtobuf
|
||||
}
|
||||
|
||||
proto {
|
||||
srcDir 'src/main/proto'
|
||||
exclude "satori.proto"
|
||||
}
|
||||
}
|
||||
|
||||
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.19.3'
|
||||
}
|
||||
|
||||
plugins {
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.43.2'
|
||||
}
|
||||
}
|
||||
|
||||
generateProtoTasks {
|
||||
all().each { task ->
|
||||
task.builtins {
|
||||
java {}
|
||||
}
|
||||
|
||||
task.plugins {
|
||||
grpc {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def pomConfig = {
|
||||
licenses {
|
||||
@@ -61,134 +214,109 @@ def pomConfig = {
|
||||
}
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = bintrayUser
|
||||
key = bintrayKey
|
||||
publications = ['mavenJava']
|
||||
pkg {
|
||||
repo = 'default'
|
||||
name = 'nakama-client'
|
||||
desc = description
|
||||
userOrg = 'heroiclabs'
|
||||
licenses = ['Apache-2.0']
|
||||
vcsUrl = 'https://github.com/heroiclabs/nakama-java.git'
|
||||
publicDownloadNumbers = true
|
||||
version {
|
||||
name = "$project.version"
|
||||
released = new Date()
|
||||
vcsTag = project.findProperty('vcsTag')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.projectlombok:lombok:1.16.18'
|
||||
compile 'com.google.code.gson:gson:2.8.1'
|
||||
compile 'com.google.protobuf:protobuf-lite:3.0.1'
|
||||
compile 'com.squareup.okhttp3:okhttp:3.8.1'
|
||||
compile 'com.stumbleupon:async:1.4.1'
|
||||
compile 'org.slf4j:slf4j-api:1.7.25'
|
||||
testCompile 'junit:junit:4.12'
|
||||
}
|
||||
|
||||
gitPublish {
|
||||
repoUri = '[email protected]:heroiclabs/nakama-java.git'
|
||||
branch = 'gh-pages'
|
||||
contents {
|
||||
from(javadoc) {
|
||||
into "$project.version"
|
||||
}
|
||||
from(javadoc) {
|
||||
into 'current'
|
||||
}
|
||||
}
|
||||
preserve {
|
||||
include '0.1.0/**'
|
||||
}
|
||||
commitMessage = "Published javadoc '$project.version' via Gradle ${GradleVersion.current().version}."
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
sourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java");
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
task nakamaJar(type: Jar) {
|
||||
manifest {
|
||||
attributes 'Implementation-Title': 'Nakama client',
|
||||
'Implementation-Version': "$project.version"
|
||||
}
|
||||
archiveBaseName = 'nakama-java'
|
||||
version = project.version
|
||||
from sourceSets.nakama.output
|
||||
}
|
||||
|
||||
protobuf {
|
||||
generateProtoTasks {
|
||||
all().each { task ->
|
||||
task.builtins {
|
||||
remove java // Don't generate a copy with "protobuf-java".
|
||||
}
|
||||
task.plugins {
|
||||
javalite { // Must activate "javalite" plugin.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
javalite {
|
||||
artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0'
|
||||
}
|
||||
}
|
||||
protoc {
|
||||
artifact = 'com.google.protobuf:protoc:3.3.0'
|
||||
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
|
||||
|
||||
artifact sourcesJar {
|
||||
classifier 'sources'
|
||||
}
|
||||
artifact javadocJar {
|
||||
classifier 'javadoc'
|
||||
}
|
||||
|
||||
nakama(MavenPublication) {
|
||||
artifact nakamaJar
|
||||
artifactId 'nakama-java'
|
||||
groupId "$project.group"
|
||||
artifactId 'client'
|
||||
version "$project.version"
|
||||
|
||||
pom.withXml {
|
||||
def root = asNode()
|
||||
root.appendNode('description', description)
|
||||
root.appendNode('description', 'Java client for Nakama server.')
|
||||
root.appendNode('name', 'Nakama client')
|
||||
root.appendNode('url', 'https://heroiclabs.com/docs/android-java-client-guide/')
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
satori(MavenPublication) {
|
||||
artifact satoriJar
|
||||
artifactId 'satori-java'
|
||||
groupId "$project.group"
|
||||
version "$project.version"
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
task nakamaTest(type: Test) {
|
||||
testClassesDirs = sourceSets.nakamaTest.output.classesDirs
|
||||
classpath = sourceSets.nakamaTest.runtimeClasspath
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
task satoriTest(type: Test) {
|
||||
testClassesDirs = sourceSets.satoriTest.output.classesDirs
|
||||
classpath = sourceSets.satoriTest.runtimeClasspath
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
proto {
|
||||
srcDir "$projectDir/server/server"
|
||||
}
|
||||
}
|
||||
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 sourcesJar(type: Jar) {
|
||||
from sourceSets.main.allJava
|
||||
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")
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
from javadoc
|
||||
javadoc {
|
||||
destinationDir = file('docs')
|
||||
options.addBooleanOption('Xdoclint:-missing', true)
|
||||
}
|
||||
|
||||
test {
|
||||
testLogging.showStandardStreams = true
|
||||
testLogging.exceptionFormat = 'full'
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2020 The Nakama Authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
OPENAPI_URL=${DOMAIN}/grpc-ecosystem/grpc-gateway/${GRPC_GATEWAY_COMMIT}/protoc-gen-openapiv2/options/openapiv2.proto
|
||||
ANNOTATION_URL=${DOMAIN}/grpc-ecosystem/grpc-gateway/${GRPC_GATEWAY_COMMIT}/protoc-gen-openapiv2/options/annotations.proto
|
||||
API_URL=${DOMAIN}/heroiclabs/nakama-common/${NAKAMA_COMMON_COMMIT}/api/api.proto
|
||||
REALTIME_URL=${DOMAIN}/heroiclabs/nakama-common/${NAKAMA_COMMON_COMMIT}/rtapi/realtime.proto
|
||||
APIGRPC_URL=${DOMAIN}/heroiclabs/nakama/${NAKAMA_COMMIT}/apigrpc/apigrpc.proto
|
||||
SATORI_APIGRPC_URL=${DOMAIN}/heroiclabs/satori/${SATORI_COMMIT}/api/satori.proto
|
||||
|
||||
### java proto-lite does not contain descriptor.proto
|
||||
DESCRIPTOR_URL=${DOMAIN}/protocolbuffers/protobuf/${PROTOBUF_COMMIT}/src/google/protobuf/descriptor.proto
|
||||
|
||||
ROOT_DIR=src/main/proto
|
||||
NAKAMA_COMMON_DIR=github.com/heroiclabs/nakama-common/api
|
||||
SWAGGER_GEN_DIR=protoc-gen-openapiv2/options
|
||||
|
||||
curl $OPENAPI_URL -o ${ROOT_DIR}/${SWAGGER_GEN_DIR}/openapiv2.proto
|
||||
curl $ANNOTATION_URL -o ${ROOT_DIR}/${SWAGGER_GEN_DIR}/annotations.proto
|
||||
curl $API_URL -o ${ROOT_DIR}/${NAKAMA_COMMON_DIR}/api.proto
|
||||
curl $REALTIME_URL -o ${ROOT_DIR}/${NAKAMA_COMMON_DIR}/realtime.proto
|
||||
curl $APIGRPC_URL -o ${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
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
}
|
||||
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.0"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.androidnakama"
|
||||
minSdkVersion 29
|
||||
targetSdkVersion 29
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ext{
|
||||
versionFirebaseCrashlytics = "17.3.0"
|
||||
versionFirebaseBom = "26.2.0"
|
||||
versionNakama = "08587dcdecc18efce0a0592451f81b31af59bb42"
|
||||
versionProtobuf = "3.13.0"
|
||||
versionPlayAuth = "19.0.0"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
implementation "com.github.heroiclabs.nakama-java:nakama-java:${versionNakama}"
|
||||
|
||||
// fat JAR
|
||||
// implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:dde7330adfa1867881dc6c6c6e27c1176512c916'
|
||||
|
||||
// Import the BoM for the Firebase platform
|
||||
implementation platform("com.google.firebase:firebase-bom:26.2.0")
|
||||
|
||||
// Firebase
|
||||
// Import the BoM for the Firebase platform
|
||||
implementation platform("com.google.firebase:firebase-bom:${versionFirebaseBom}")
|
||||
|
||||
// Declare the dependencies for the Remote Config and Analytics libraries
|
||||
// When using the BoM, you don't specify versions in Firebase library dependencies
|
||||
implementation 'com.google.firebase:firebase-config-ktx'
|
||||
implementation 'com.google.firebase:firebase-analytics-ktx'
|
||||
implementation 'com.google.firebase:firebase-crashlytics'
|
||||
implementation 'com.google.firebase:firebase-crashlytics-ndk'
|
||||
implementation 'com.google.firebase:firebase-messaging'
|
||||
implementation 'com.google.firebase:firebase-auth'
|
||||
implementation "com.google.android.gms:play-services-auth:${versionPlayAuth}"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.testandroid;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
assertEquals("com.example.androidnakama", appContext.getPackageName());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.nakama_java_test_android">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/app_name">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.nakama_java_test_android;
|
||||
|
||||
import java.util.concurrent.*;
|
||||
import com.google.common.util.concurrent.*;
|
||||
|
||||
import com.heroiclabs.nakama.DefaultClient;
|
||||
import com.heroiclabs.nakama.Session;
|
||||
import com.heroiclabs.nakama.api.Account;
|
||||
|
||||
import android.app.*;
|
||||
import android.os.Bundle;
|
||||
import android.util.*;
|
||||
|
||||
// fat jar
|
||||
// import nakama.com.google.common.util.concurrent.*;
|
||||
|
||||
|
||||
public class MainActivity extends Activity {
|
||||
/** Called when the activity is first created. */
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
final DefaultClient client = new DefaultClient("defaultkey", "10.0.2.2", 7349, false);
|
||||
final ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||
|
||||
String email = "[email protected]";
|
||||
String password = "batsignal";
|
||||
|
||||
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
|
||||
|
||||
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
|
||||
public ListenableFuture<Account> apply(Session session) {
|
||||
return client.getAccount(session);
|
||||
}
|
||||
};
|
||||
|
||||
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
|
||||
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
|
||||
@Override
|
||||
public void onSuccess(Account account) {
|
||||
System.out.println("Got account: " + account.getUser().getId());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable e) {
|
||||
System.out.println(e.getMessage());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
}, executor);
|
||||
|
||||
try {
|
||||
executor.awaitTermination(5, TimeUnit.SECONDS);
|
||||
} catch (InterruptedException e) {
|
||||
System.out.println(e.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
||||
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#6200EE</color>
|
||||
<color name="colorPrimaryDark">#3700B3</color>
|
||||
<color name="colorAccent">#03DAC5</color>
|
||||
</resources>
|
||||
@@ -0,0 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">nakama-java-test-android</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,10 @@
|
||||
<resources>
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.testandroid;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
public class ExampleUnitTest {
|
||||
@Test
|
||||
public void addition_isCorrect() {
|
||||
assertEquals(4, 2 + 2);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017 The Nakama Authors
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,21 +14,27 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.heroiclabs.nakama;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Data;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@Data
|
||||
@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
|
||||
class DefaultAuthenticateMessage implements AuthenticateMessage {
|
||||
|
||||
private final com.heroiclabs.nakama.Api.AuthenticateRequest.Builder payload;
|
||||
|
||||
public byte[] asBytes(final @NonNull String collationId) {
|
||||
return payload.clone().setCollationId(collationId).build().toByteArray();
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:4.1.2'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx2048m
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||
# Android operating system, and which are packaged with your app"s APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
# Automatically convert third-party libraries to use AndroidX
|
||||
android.enableJetifier=true
|
||||
@@ -0,0 +1,6 @@
|
||||
#Mon Mar 15 08:33:52 EDT 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
|
||||
@@ -0,0 +1,172 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# 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
|
||||
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=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 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
|
||||
;;
|
||||
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"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
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.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
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, switch paths to Windows format before running java
|
||||
if $cygwin ; 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=$((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" ;;
|
||||
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, 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"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
@@ -0,0 +1,84 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@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=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
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%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="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
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1,2 @@
|
||||
include ':app'
|
||||
rootProject.name = "nakama-java-test-android"
|
||||
@@ -0,0 +1 @@
|
||||
To run this example, run ./gradlew run.
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This is a general purpose Gradle build.
|
||||
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id 'application'
|
||||
id 'java'
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
}
|
||||
|
||||
mavenCentral() // resolve Guava
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.heroiclabs.nakama-java:nakama-java:08587dcdecc18efce0a0592451f81b31af59bb42'
|
||||
// fat Jar
|
||||
// implementation 'com.github.heroiclabs.nakama-java:nakama-java-all:dde7330adfa1867881dc6c6c6e27c1176512c916'
|
||||
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'Main'
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -0,0 +1,185 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
#
|
||||
# Copyright 2015 the original author or authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://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.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# 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
|
||||
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"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 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
|
||||
;;
|
||||
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"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
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.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
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" ;;
|
||||
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, 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"
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
@@ -0,0 +1,89 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
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"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
: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 %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="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
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* The settings file is used to specify which projects to include in your build.
|
||||
*
|
||||
* Detailed information about configuring a multi-project build in Gradle can be found
|
||||
* in the user manual at https://docs.gradle.org/6.6/userguide/multi_project_builds.html
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import java.util.concurrent.*;
|
||||
import com.google.common.util.concurrent.*;
|
||||
import com.heroiclabs.nakama.DefaultClient;
|
||||
import com.heroiclabs.nakama.Session;
|
||||
import com.heroiclabs.nakama.api.Account;
|
||||
|
||||
// fat jar
|
||||
// import nakama.com.google.common.util.concurrent.*;
|
||||
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
DefaultClient client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
|
||||
ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||
|
||||
String email = "[email protected]";
|
||||
String password = "batsignal";
|
||||
|
||||
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
|
||||
|
||||
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
|
||||
public ListenableFuture<Account> apply(Session session) {
|
||||
return client.getAccount(session);
|
||||
}
|
||||
};
|
||||
|
||||
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
|
||||
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
|
||||
@Override
|
||||
public void onSuccess(Account account) {
|
||||
System.out.println("Got account: " + account.getUser().getId());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable e) {
|
||||
System.out.println(e.getMessage());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
}, executor);
|
||||
|
||||
try {
|
||||
executor.awaitTermination(5, TimeUnit.SECONDS);
|
||||
} catch (InterruptedException e) {
|
||||
System.out.println(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
To run this example, run `mvn compile` and then `mvn exec:java`.
|
||||
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2020 The Nakama Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.heroiclabs</groupId>
|
||||
<artifactId>nakama-java-test-maven</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<name>nakama-java-test-maven</name>
|
||||
<url>https://github.com/heroiclabs/nakama-java</url>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.heroiclabs.nakama-java</groupId>
|
||||
<artifactId>nakama-java</artifactId>
|
||||
<version>08587dcdecc18efce0a0592451f81b31af59bb42</version>
|
||||
<type>jar</type>
|
||||
</dependency>
|
||||
<!-- fat jar
|
||||
<dependency>
|
||||
<groupId>com.github.heroiclabs.nakama-java</groupId>
|
||||
<artifactId>nakama-java-all</artifactId>
|
||||
<version>dde7330adfa1867881dc6c6c6e27c1176512c916</version>
|
||||
<type>jar</type>
|
||||
</dependency> -->
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.4.0</version>
|
||||
<configuration>
|
||||
<mainClass>Main</mainClass>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
||||
<plugin>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>lib/</classpathPrefix>
|
||||
<mainClass>Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
<version>3.0.2</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2020 The Nakama Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import java.util.concurrent.*;
|
||||
import com.google.common.util.concurrent.*;
|
||||
import com.heroiclabs.nakama.DefaultClient;
|
||||
import com.heroiclabs.nakama.Session;
|
||||
import com.heroiclabs.nakama.api.Account;
|
||||
|
||||
// fat jar
|
||||
// import nakama.com.google.common.util.concurrent.*;
|
||||
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
DefaultClient client = new DefaultClient("defaultkey", "127.0.0.1", 7349, false);
|
||||
ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||
|
||||
String email = "[email protected]";
|
||||
String password = "batsignal";
|
||||
|
||||
ListenableFuture<Session> authFuture = client.authenticateEmail(email, password);
|
||||
|
||||
AsyncFunction<Session, Account> accountFunction = new AsyncFunction<Session, Account>() {
|
||||
public ListenableFuture<Account> apply(Session session) {
|
||||
return client.getAccount(session);
|
||||
}
|
||||
};
|
||||
|
||||
ListenableFuture<Account> accountFuture = Futures.transformAsync(authFuture, accountFunction, executor);
|
||||
Futures.addCallback(accountFuture, new FutureCallback<Account>() {
|
||||
@Override
|
||||
public void onSuccess(Account account) {
|
||||
System.out.println("Got account: " + account.getUser().getId());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable e) {
|
||||
System.out.println(e.getMessage());
|
||||
executor.shutdown();
|
||||
}
|
||||
|
||||
}, executor);
|
||||
|
||||
try {
|
||||
executor.awaitTermination(5, TimeUnit.SECONDS);
|
||||
} catch (InterruptedException e) {
|
||||
System.out.println(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
# Bintray credentials
|
||||
bintrayUser=
|
||||
bintrayKey=
|
||||
@@ -0,0 +1,7 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -0,0 +1,248 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://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.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# 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
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
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 ;; #(
|
||||
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
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
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" && ! "$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
|
||||
|
||||
# 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.
|
||||
|
||||
# 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" "$@"
|
||||
@@ -0,0 +1,92 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
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"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
: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 %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
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!
|
||||
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
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1,2 @@
|
||||
# This file is generated by the 'io.freefair.lombok' Gradle plugin
|
||||
config.stopBubbling = true
|
||||