Compare commits

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

* update grpc gateway proto files

* implement auth., link, unlink apple

* add facebook instant game authentication

* add link and unlink facebook instant game

* implement demote group users and test their promotion and demotion
2021-01-25 20:59:22 -05:00
Luke Gehorsam 308d5cf6a7 update changelog 2021-01-25 20:55:23 -05:00
Luke Gehorsam 7ad14bee4a update grpc gateway proto files 2021-01-06 14:57:32 -05:00
Luke Gehorsam e7c0d9d05e update nakama protos 2021-01-06 11:09:53 -05:00
dependabot[bot] 98c59ca363 Bump junit from 4.11 to 4.13.1 in /examples/example-maven (#47)
Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 09:10:54 -04:00
Luke Gehorsam 08cc768111 fix url to jitpack build log 2020-10-16 09:07:00 -04:00
Luke 30a24ff7ab example android, gradle and maven projects (#46)
* example android, gradle and maven projects

* remove redundant globs

* use more idiomatic android package name for example

* add license headers to java and groovy files

* use correct ListenableFuture pattern in example project code

* use separate artifactId instead of separate classifier for shadowJar

* update readme with new fatjar artifact id

* switch maven coordinates yet again and clean up examples for fat jar support

* fix gitignore newlines

* remove underscores from android test packagees
2020-10-16 09:02:42 -04:00
Luke Gehorsam 724d882ef4 update readme integration instructions 2020-09-30 13:24:31 -04:00
Luke Gehorsam 26fc0acad3 set com.github.heroiclabs as group 2020-09-30 12:59:45 -04:00
Luke Gehorsam 85f1080964 use same artifact id but differentiate via jars by classifier 2020-09-30 12:32:33 -04:00
Luke 3dde5b3baf Fix Eclipse/IDEA support and web socket message executor (#44)
* fix idea and eclipse support for protobuf intellisense

* process web socket messages using a single thread

* allow executor service to be passed into socket, but default to single-threaded

* add multithreading socket note to java sdk

* Fix extra newline
2020-09-06 12:01:49 -04:00
Luke 6c95cc5b55 Improved Jar Maven Coordinates (#42)
* use all suffix in artifactid rather than classifier

* Fix sources jar and description not being published. Tighten up maven coordinates to be less redundant

* fix incorrectly written logger-simple addition
2020-08-26 20:33:30 -04:00
Luke ce4caaa886 Integrate Gradle and Jitpack, update to latest dependencies (#41)
* add distribution plugin

* ignore all built code

* try shadow task

* remove git-publish and bintray for now

* upgrade lombok from 1.18.10 to 1.18.12

* upgrade grpc, protobuf

* upgrade okhttp

* update slf4j to 1.7.40 and don't force it

* remove manual pulling in of common protos from protobufjava

* include slf4j-simple as a test

* use thin and fat terminology for jar ids

* configure all tasks of type AbstractPublishToMaven

* update readme

* fix xml indentation

* add parent tags to maven examples

* move logger implementation to shadowjar task

* remove old bintray creds

* Replace thin terminology with main

* invert exclusion of simple logger

* expose listenable future  as part of the library api

* document jitpack build path
2020-08-21 20:33:52 -04:00
Luke Gehorsam d3370a2c8f just retain protobuf-java dependency for now 2020-08-17 10:07:58 -04:00
Luke Gehorsam 1eba9430d9 use gradle's dependency substitution feature to replace peotobuf-java with protobuf lite 2020-08-17 09:59:30 -04:00
Luke Gehorsam fe18af2e3d fix createSocket() overload 2020-08-17 09:32:11 -04:00
Luke Gehorsam 3793d17bb3 restore common protos but specifically exclude protobuf-java 2020-08-17 09:25:36 -04:00
Luke 2fa7356b0e Remove protobuf-java transitive dependency and add configurable ping to socket (#37)
* extract common protos from protobuf-java rather than including it as a transitive dependency in the common-protos package

* pass socket ping to pingInterval

* pass in timeout and ping as static defaults

* update changelog

* retain old interface and simply add a new method to interface that accepts ping
2020-08-13 18:29:14 -04:00
Luke 01364ccf68 merge service files when creating shadow jar (#39) 2020-08-13 17:26:49 -04:00
Luke 88bcef0d15 Make GSON parse UTC properly from Nakama (#36)
* add custon Date deserializer to GSON

* don't use two different date formats

* write test verifying proper createTime() for notifs

* oops, use math.abs

* reword DateTime -> Date because this is Java not .NET

* add license header and summary to gsondateserializer
2020-08-07 09:54:23 -04:00
LukeandLuke Gehorsam b8786c50a6 Update to Gradle 6.5.1 (#35)
* update copyright to 2020

* bundle all protos with the repo and simplify build.gradle

* commit new generated source

* update to gradle 5.0

* upgrade to gradle 6.0

* upgrade to gradle 6.5.1

* suppress warnings from generate code in eclipse

* Support for logs in tests

* add basic test for listing tournaments

* replace instances of DateTime with getEpochSecond() in tournament tests

* add end time to tournament objects that don't have reset schedules

* oops, don't set end time multiple times on some objects

* don't rely on leaky tournamenet list size for end time tests

* fix assertion on tournament record expiry

* remove 'no end' from tourney descriptions that do in fact end

* remove undefined getNextReset result from tourney test with no reset schedule

* update test on creation of future tournaments

* Add support for banning users to the Java SDK

* update changelog re: tourney test suite

* Allow .proto files to be imported without needing to flatten import statements

* add newline to EOF in download-protos

* remove unused build code

* exclude actual .proto files from .jar

* exclude grpc gateway meta protos from codegen

* update shadowjar dependency and document it

* add relocation support to shadowjar

Co-authored-by: Luke Gehorsam <[email protected]>
2020-08-05 12:16:04 -04:00
Mo Firouz e69126532d Set new development version. 2020-01-23 09:43:04 +00:00
Mo Firouz a06d1c62f5 Nakama-Java 2.0.4 release. 2020-01-23 09:42:24 +00:00
Mo Firouz 46ba09b80b Update to use latest gRPC dependencies. 2020-01-23 09:39:47 +00:00
Mo Firouz e125f80a13 Set new development version. 2019-10-25 15:41:28 +02:00
Mo Firouz d771de35c1 Nakama-Java 2.0.3 release. 2019-10-25 15:38:44 +02:00
Mo Firouz 15456d4e8c Add support for more ways to create a socket. 2019-10-25 15:36:18 +02:00
Mo Firouz 2222f178a6 Fix typo in UserPresence variable naming. 2019-10-16 17:17:03 +02:00
Mo Firouz e46d122d2d Set new development version. 2019-10-14 12:16:51 +02:00
Mo Firouz dc96afe168 Nakama-Java 2.0.2 release. 2019-10-14 12:15:07 +02:00
Mo Firouz 0b839aaea1 Add support for changes in Nakama 2.7.0 and custom Events API. #26 2019-10-14 11:43:57 +02:00
Mo Firouz 3814e6e63a Set new development version. 2019-06-19 12:13:42 +01:00
Mo Firouz d1744b1718 Nakama-Java 2.0.1 release. 2019-06-19 12:13:18 +01:00
Mo Firouz 89f991b3fb Add support for listing expired leaderboard/tournament records. Fix tests. 2019-06-11 16:27:21 +01:00
Chris Molozian 4b0922cfd0 Add gradle wrapper for 4.10.3 builds. 2019-04-24 23:22:03 +01:00
Mo Firouz 7a001c21dc Add missing generated java grpc. 2019-04-24 23:11:53 +01:00
Mo Firouz 8b21f78867 Set new development version. 2019-03-28 23:03:36 +00:00
Mo Firouz cb1340d4e6 Nakama-Java 2.0.0 release. 2019-03-28 22:55:13 +00:00
Mo Firouz 2b47a12a8e Update README to hide mentions of central repository 2019-03-28 22:31:12 +00:00
Mo Firouz fc88aba004 Add basic group create, update, list test 2019-03-13 23:24:27 +00:00
Mo Firouz f7eacd10bd Update to use updated server proto 2019-02-08 16:40:04 +00:00
Nitzan Zada ea616f9c93 matched api.proto with server's v2.3.2 2019-02-08 15:33:48 +00:00
Tregub Tatiana 610f177395 listUsersStorageObjects returns only 1 object 2018-12-07 13:51:04 +00:00
Tregub Tatiana 92ca9f61bc remove failed test 2018-12-07 13:51:04 +00:00
Tregub Tatiana 37c731878d fix arguments order 2018-12-07 13:51:04 +00:00
Tregub Tatiana 8a7172d8ac test fail 2018-12-07 13:51:04 +00:00
Tregub Tatiana d4d632aa71 fix arguments ordering 2018-12-07 10:59:59 +00:00
Mo Firouz 991d78b21d Ensure storage write objects are correctly added. 2018-11-16 10:17:27 +00:00
Sergey Zalozhnikov 8c49666f58 Enable access to enums from code outside of the package 2018-11-15 15:11:43 +00:00
Mo Firouz ed8a11e7de Base64 match data. Don't set collation ID on match data 2018-11-07 09:54:07 +00:00
Sergey Zalozhnikov 4dad9c08ff Update to use okio-1.14.0 to fix ClassNotFoundException for Maven projects on socket connection. 2018-11-07 09:53:25 +00:00
Sergey Zalozhnikov 2c209a8848 Enable access to join channels from code outside of the package 2018-11-01 10:37:15 +10:00
Mo Firouz 1d2f2132a6 Disable client-initiated pings 2018-10-21 05:37:58 +10:00
Mo Firouz a3026badf1 Execute listener on a new thread to avoid blocking network calls. 2018-10-17 23:58:40 +08:00
Mo Firouz ad4cc6c61a Enhance matchmaker tests 2018-10-16 16:35:26 +08:00
Mo Firouz a063bb6f56 Add MatchmakerTest 2018-10-16 15:13:55 +08:00
Mo Firouz cd4ea151c4 Rename OnMatchmakeMatched to OnMatchmakerMatched 2018-10-16 09:33:38 +08:00
Mo Firouz 64a5bdc732 Fix timestamp typo 2018-10-11 11:47:10 +01:00
Mo Firouz 642d61bdef Add support for tournaments. (#10) 2018-10-11 07:53:36 +01:00
Mo Firouz b1e80ad51f Check for NPE when decoding match data 2018-09-20 14:24:54 +01:00
Mo Firouz e1d754c52e Fix match serialization 2018-09-19 14:38:15 +01:00
Mo Firouz fc5f8d2adc Allow null value when updating status. 2018-09-05 11:26:45 +01:00
Mo Firouz 983c4e9fa2 Rename socket methods to better names 2018-09-04 20:27:36 +01:00
Mo Firouz e55764710b Streamline creating a new websocket connection 2018-09-04 13:25:56 +01:00
Mo Firouz d29a58f0cc Update build settings to ensure use of lite runtime 2018-09-04 08:45:41 +01:00
Mo Firouz 4867fca44a Add javadocs. 2018-09-03 08:53:01 +01:00
Mo Firouz 323bd5f502 Update readme with more info. 2018-09-02 15:00:51 +01:00
Mo Firouz 9aa46b8312 Improve tests. 2018-09-01 18:04:25 +01:00
Mo Firouz 4fb96c7182 Improve gRPC and websocket data exchange. 2018-08-31 17:30:14 +01:00
Chris Molozian b15777f196 Set new development version. 2017-12-07 22:38:40 +00:00
Chris Molozian 747c31aee3 Nakama Java 0.5.1 release. 2017-12-07 22:29:39 +00:00
Andrei Mihu 54faa2d1f8 Improve storage update operation builder. (#5) 2017-12-07 15:48:34 +00:00
Andrei Mihu 55b69d693d Set new development version. 2017-11-21 19:53:07 +00:00
Andrei Mihu 113d21a1e1 Nakama Java 0.5.0 release. 2017-11-21 18:58:00 +00:00
Andrei Mihu 95a8571b4c Add friends, groups, notifications. Merge #4 2017-11-20 14:06:11 +00:00
Andrei Mihu b8de50d4e0 Set new development version. 2017-11-07 14:58:51 +00:00
Andrei Mihu 11d758e48c Prep 0.4.0 release 2017-11-07 14:51:25 +00:00
Andrei Mihu 6e8e08519b Update identifier formats. Merge #3 2017-11-06 22:41:49 +00:00
Chris Molozian 0e3e237656 Set new development version. 2017-10-17 13:40:27 +01:00
Chris Molozian 8cd7bd7e71 Nakama Java 0.3.0 release. 2017-10-17 13:32:34 +01:00
Andrei Mihu d9c2ffe343 Fix test regression 2017-10-16 13:00:24 +01:00
Mo Firouz 5f044e2cf7 Add advanced matchmaker. Merged #2 2017-10-09 21:31:59 +01:00
Chris Molozian 55119792d9 Set new development version. 2017-09-24 21:44:41 +01:00
Chris Molozian 38362c56ef Fix broken javadoc. 2017-09-24 21:41:38 +01:00
Chris Molozian 4f43a4acb9 Nakama Java 0.2.0 release. 2017-09-24 21:12:44 +01:00
Mo Firouz 6fc77a2b23 Add match, matchmaking, leaderboard, topic features. Merge #1 2017-09-24 21:01:16 +01:00
Chris Molozian 5922d7e655 Update README. 2017-09-02 16:56:15 +01:00
Chris Molozian 5f54b0a385 Set new development version. 2017-09-02 14:28:23 +01:00
Chris Molozian e9838c710b Nakama Java 0.1.2 release. 2017-09-02 14:05:27 +01:00
Mo Firouz 225edc9db8 Fix slf4j and jdk1.8 dependency 2017-09-01 17:35:47 +01:00
Andrei Mihu f36998356c Update RPC test function names 2017-08-16 13:51:05 +01:00
Andrei Mihu dcd0a7ee4e Update changelog 2017-08-14 20:33:35 +01:00
Andrei Mihu 99a822c13a Prep new development version 2017-08-14 18:55:56 +01:00
229 changed files with 46220 additions and 4759 deletions

No files matched your search

+8 -4
View File
@@ -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
-3
View File
@@ -1,3 +0,0 @@
[submodule "server"]
path = server
url = [email protected]:heroiclabs/nakama.git
+121 -1
View File
@@ -6,10 +6,130 @@ The format is based on [keep a changelog](http://keepachangelog.com/) and this p
## [Unreleased]
## [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.
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+218 -22
View File
@@ -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,125 @@ 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");
```
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 +218,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).
+13 -26
View File
@@ -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
```
+245 -114
View File
@@ -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,178 @@
* 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.2.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 {
all {
exclude group: 'io.grpc', module:'grpc-protobuf'
exclude group: 'com.google.protobuf', module: 'protobuf-java'
}
sharedProtobuf.extendsFrom protobuf
sharedApi.extendsFrom api
sharedImplementation.extendsFrom implementation
sharedTestImplementation.extendsFrom testImplementation
}
dependencies {
shadow localGroovy()
shadow gradleApi()
implementation 'com.google.code.gson:gson:2.8.9'
api 'io.grpc:grpc-protobuf-lite: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-javalite:3.19.3'
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'
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 {
option 'lite'
}
}
task.plugins {
grpc { option 'lite' }
}
}
}
}
def pomConfig = {
licenses {
@@ -61,134 +217,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'
}
+49
View File
@@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama" target="classFrame">AbstractSocketListener</a></li>
<li><a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama" target="classFrame">Channel</a></li>
<li><a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelMessageAck</a></li>
<li><a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama" target="classFrame">ChannelType</a></li>
<li><a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Client</span></a></li>
<li><a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultClient</a></li>
<li><a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultSession</a></li>
<li><a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama" target="classFrame">Error</a></li>
<li><a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama" target="classFrame">Error.ErrorCode</a></li>
<li><a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama" target="classFrame">GsonDateDeserializer</a></li>
<li><a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama" target="classFrame">Match</a></li>
<li><a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchData</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerMatched</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerTicket</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerUser</a></li>
<li><a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionRead</a></li>
<li><a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionWrite</a></li>
<li><a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Session</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketListener</span></a></li>
<li><a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama" target="classFrame">Status</a></li>
<li><a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusUnfollowMessage</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectId</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectWrite</a></li>
<li><a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama" target="classFrame">Stream</a></li>
<li><a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamData</a></li>
<li><a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama" target="classFrame">UserPresence</a></li>
<li><a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama" target="classFrame">WebSocketClient</a></li>
</ul>
</div>
</body>
</html>
+49
View File
@@ -0,0 +1,49 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></li>
<li><a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a></li>
<li><a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a></li>
<li><a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></li>
<li><a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">Client</span></a></li>
<li><a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama">DefaultClient</a></li>
<li><a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></li>
<li><a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></li>
<li><a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></li>
<li><a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama">GsonDateDeserializer</a></li>
<li><a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a></li>
<li><a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a></li>
<li><a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></li>
<li><a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></li>
<li><a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></li>
<li><a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">Session</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="interfaceName">SocketListener</span></a></li>
<li><a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a></li>
<li><a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama">StatusUnfollowMessage</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama">StorageObjectId</a></li>
<li><a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama">StorageObjectWrite</a></li>
<li><a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></li>
<li><a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a></li>
<li><a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a></li>
<li><a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></li>
<li><a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></li>
</ul>
</div>
</body>
</html>
@@ -0,0 +1,503 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AbstractSocketListener (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractSocketListener (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/AbstractSocketListener.html" target="_top">Frames</a></li>
<li><a href="AbstractSocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class AbstractSocketListener" class="title">Class AbstractSocketListener</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.AbstractSocketListener</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractSocketListener</span>
extends java.lang.Object
implements <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></pre>
<div class="block">A listener for receiving <code>Client</code> events.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#AbstractSocketListener--">AbstractSocketListener</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></span>(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</code>
<div class="block">Called when a new topic message has been received.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></span>(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when a new topic presence update has been received.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></span>(java.lang.Throwable&nbsp;t)</code>
<div class="block">Called when the client socket disconnects.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></span>(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</code>
<div class="block">Called when the client receives an error.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></span>(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</code>
<div class="block">Called when a new match data is received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></span>(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</code>
<div class="block">Called when a matchmaking has found a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></span>(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</code>
<div class="block">Called when a new match presence update is received.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></span>(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</code>
<div class="block">Called when the client receives new notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives status presence updates.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></span>(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</code>
<div class="block">Called when the client receives stream data.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives stream presence updates.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractSocketListener--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractSocketListener</h4>
<pre>public&nbsp;AbstractSocketListener()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onDisconnect-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDisconnect</h4>
<pre>public&nbsp;void&nbsp;onDisconnect(java.lang.Throwable&nbsp;t)</pre>
<div class="block">Called when the client socket disconnects.
Throwable t is set if an error caused the disconnect.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - Throwable t is set if an error caused the disconnect.</dd>
</dl>
</li>
</ul>
<a name="onError-com.heroiclabs.nakama.Error-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onError</h4>
<pre>public&nbsp;void&nbsp;onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</pre>
<div class="block">Called when the client receives an error.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>error</code> - The <code>Error</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelMessage</h4>
<pre>public&nbsp;void&nbsp;onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</pre>
<div class="block">Called when a new topic message has been received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The <code>ChannelMessage</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelPresence</h4>
<pre>public&nbsp;void&nbsp;onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when a new topic presence update has been received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - The <code>ChannelPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchmakerMatched</h4>
<pre>public&nbsp;void&nbsp;onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</pre>
<div class="block">Called when a matchmaking has found a match.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matched</code> - The <code>MatchmakerMatched</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchData-com.heroiclabs.nakama.MatchData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchData</h4>
<pre>public&nbsp;void&nbsp;onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</pre>
<div class="block">Called when a new match data is received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchData</code> - The <code>MatchData</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchPresence</h4>
<pre>public&nbsp;void&nbsp;onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</pre>
<div class="block">Called when a new match presence update is received.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchPresence</code> - The <code>MatchPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onNotifications-com.heroiclabs.nakama.api.NotificationList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNotifications</h4>
<pre>public&nbsp;void&nbsp;onNotifications(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</pre>
<div class="block">Called when the client receives new notifications.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>notifications</code> - The list of <code>Notification</code> received.</dd>
</dl>
</li>
</ul>
<a name="onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusPresence</h4>
<pre>public&nbsp;void&nbsp;onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives status presence updates.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StatusPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamPresence</h4>
<pre>public&nbsp;void&nbsp;onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives stream presence updates.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StreamPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamData-com.heroiclabs.nakama.StreamData-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onStreamData</h4>
<pre>public&nbsp;void&nbsp;onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</pre>
<div class="block">Called when the client receives stream data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - Stream <code>StreamData</code> data received.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/AbstractSocketListener.html" target="_top">Frames</a></li>
<li><a href="AbstractSocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+396
View File
@@ -0,0 +1,396 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Channel (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Channel (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Channel.html" target="_top">Frames</a></li>
<li><a href="Channel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Channel" class="title">Class Channel</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Channel</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Channel</span>
extends java.lang.Object</pre>
<div class="block">A chat channel on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getId--">getId</a></span>()</code>
<div class="block">The server-assigned channel ID.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The presences visible on the chat channel.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The presence of the current user.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Channel.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getId()</pre>
<div class="block">The server-assigned channel ID.</div>
</li>
</ul>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The presences visible on the chat channel.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSelf()</pre>
<div class="block">The presence of the current user. i.e. Your self.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Channel.html" target="_top">Frames</a></li>
<li><a href="Channel.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,460 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelMessageAck (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelMessageAck (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelMessageAck.html" target="_top">Frames</a></li>
<li><a href="ChannelMessageAck.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class ChannelMessageAck" class="title">Class ChannelMessageAck</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelMessageAck</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ChannelMessageAck</span>
extends java.lang.Object</pre>
<div class="block">An acknowledgement from the server when a chat message is delivered to a channel.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getChannelId--">getChannelId</a></span>()</code>
<div class="block">The server-assigned channel ID.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getCode--">getCode</a></span>()</code>
<div class="block">A user-defined code for the chat message.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getCreateTime--">getCreateTime</a></span>()</code>
<div class="block">The UNIX time when the message was created.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getMessageId--">getMessageId</a></span>()</code>
<div class="block">A unique ID for the chat message.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUpdateTime--">getUpdateTime</a></span>()</code>
<div class="block">The UNIX time when the message was updated.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#getUsername--">getUsername</a></span>()</code>
<div class="block">The username of the sender of the message.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#isPersistent--">isPersistent</a></span>()</code>
<div class="block">True if the chat message has been stored in history.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMessageId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessageId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMessageId()</pre>
<div class="block">A unique ID for the chat message.</div>
</li>
</ul>
<a name="getChannelId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getChannelId()</pre>
<div class="block">The server-assigned channel ID.</div>
</li>
</ul>
<a name="getCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>public&nbsp;int&nbsp;getCode()</pre>
<div class="block">A user-defined code for the chat message.</div>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<div class="block">The username of the sender of the message.</div>
</li>
</ul>
<a name="isPersistent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistent</h4>
<pre>public&nbsp;boolean&nbsp;isPersistent()</pre>
<div class="block">True if the chat message has been stored in history.</div>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>public&nbsp;java.util.Date&nbsp;getCreateTime()</pre>
<div class="block">The UNIX time when the message was created.</div>
</li>
</ul>
<a name="getUpdateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdateTime</h4>
<pre>public&nbsp;java.util.Date&nbsp;getUpdateTime()</pre>
<div class="block">The UNIX time when the message was updated.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelMessageAck.html" target="_top">Frames</a></li>
<li><a href="ChannelMessageAck.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,396 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="ChannelPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class ChannelPresenceEvent" class="title">Class ChannelPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ChannelPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of join and leave presences on a chat channel.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getChannelId--">getChannelId</a></span>()</code>
<div class="block">The unique identifier of the chat channel.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getGroupId--">getGroupId</a></span>()</code>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">The unique identifier of the chat channel.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the channel.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getRoomName--">getRoomName</a></span>()</code>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getUserIdOne--">getUserIdOne</a></span>()</code>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#getUserIdTwo--">getUserIdTwo</a></span>()</code>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getChannelId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannelId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getChannelId()</pre>
<div class="block">The unique identifier of the chat channel.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">The unique identifier of the chat channel.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the channel.</div>
</li>
</ul>
<a name="getRoomName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoomName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRoomName()</pre>
<div class="block">The name of the chat room, or an empty string if this message was not sent through a chat room.</div>
</li>
</ul>
<a name="getGroupId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getGroupId()</pre>
<div class="block">The ID of the group, or an empty string if this message was not sent through a group channel.</div>
</li>
</ul>
<a name="getUserIdOne--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdOne</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdOne()</pre>
<div class="block">The ID of the first DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="getUserIdTwo--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIdTwo</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserIdTwo()</pre>
<div class="block">The ID of the second DM user, or an empty string if this message was not sent through a DM chat.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="ChannelPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+371
View File
@@ -0,0 +1,371 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ChannelType (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ChannelType (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelType.html" target="_top">Frames</a></li>
<li><a href="ChannelType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum ChannelType" class="title">Enum ChannelType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.ChannelType</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">ChannelType</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&gt;</pre>
<div class="block">The available channel types on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#DIRECT_MESSAGE">DIRECT_MESSAGE</a></span></code>
<div class="block">A private chat between two users.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#GROUP">GROUP</a></span></code>
<div class="block">A chat within a group on the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#ROOM">ROOM</a></span></code>
<div class="block">A chat room which can be created dynamically with a name.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/ChannelType.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="ROOM">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROOM</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> ROOM</pre>
<div class="block">A chat room which can be created dynamically with a name.</div>
</li>
</ul>
<a name="DIRECT_MESSAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DIRECT_MESSAGE</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> DIRECT_MESSAGE</pre>
<div class="block">A private chat between two users.</div>
</li>
</ul>
<a name="GROUP">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GROUP</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a> GROUP</pre>
<div class="block">A chat within a group on the server.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (ChannelType c : ChannelType.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/ChannelType.html" target="_top">Frames</a></li>
<li><a href="ChannelType.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,488 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>DefaultSession (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultSession (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":9,"i13":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/DefaultSession.html" target="_top">Frames</a></li>
<li><a href="DefaultSession.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class DefaultSession" class="title">Class DefaultSession</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.DefaultSession</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultSession</span>
extends java.lang.Object
implements <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></pre>
<div class="block">Default implementation of Session interface.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getAuthToken--">getAuthToken</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getCreateTime--">getCreateTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getExpireTime--">getExpireTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getUserId--">getUserId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getUsername--">getUsername</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#getVars--">getVars</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#isCreated--">isCreated</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#IsExpired--">IsExpired</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#isExpired-java.util.Date-">isExpired</a></span>(java.util.Date&nbsp;dateTime)</code>
<div class="block">Check if the session has expired against the input time.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#restore-java.lang.String-">restore</a></span>(java.lang.String&nbsp;token)</code>
<div class="block">Restore a session from an authentication token.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/DefaultSession.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="IsExpired--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IsExpired</h4>
<pre>public&nbsp;boolean&nbsp;IsExpired()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#IsExpired--">IsExpired</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the session has expired against the current time.</dd>
</dl>
</li>
</ul>
<a name="isExpired-java.util.Date-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpired</h4>
<pre>public&nbsp;boolean&nbsp;isExpired(java.util.Date&nbsp;dateTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">Session</a></code></span></div>
<div class="block">Check if the session has expired against the input time.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">isExpired</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dateTime</code> - The time to compare against the session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the session has expired.</dd>
</dl>
</li>
</ul>
<a name="restore-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>restore</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;restore(java.lang.String&nbsp;token)</pre>
<div class="block">Restore a session from an authentication token.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>token</code> - The authentication token from a Session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A session restored from the authentication token.</dd>
</dl>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>public&nbsp;long&nbsp;getCreateTime()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getCreateTime--">getCreateTime</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session object was created.</dd>
</dl>
</li>
</ul>
<a name="getExpireTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpireTime</h4>
<pre>public&nbsp;long&nbsp;getExpireTime()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getExpireTime--">getExpireTime</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session will expire.</dd>
</dl>
</li>
</ul>
<a name="isCreated--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>public&nbsp;boolean&nbsp;isCreated()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#isCreated--">isCreated</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the user account for this session was just created.</dd>
</dl>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUsername--">getUsername</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The username of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getUserId--">getUserId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The ID of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getAuthToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthToken</h4>
<pre>public&nbsp;java.lang.String&nbsp;getAuthToken()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getAuthToken--">getAuthToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The authentication token used to construct this session.</dd>
</dl>
</li>
</ul>
<a name="getVars--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVars</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getVars()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Get session vars.</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/DefaultSession.html" target="_top">Frames</a></li>
<li><a href="DefaultSession.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,425 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Error.ErrorCode (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Error.ErrorCode (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.ErrorCode.html" target="_top">Frames</a></li>
<li><a href="Error.ErrorCode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum Error.ErrorCode" class="title">Enum Error.ErrorCode</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Error.ErrorCode</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></dd>
</dl>
<hr>
<br>
<pre>public static enum <span class="typeNameLabel">Error.ErrorCode</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&gt;</pre>
<div class="block">The error code for the problem.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#BAD_INPUT">BAD_INPUT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MATCH_JOIN_REJECTED">MATCH_JOIN_REJECTED</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MATCH_NOT_FOUND">MATCH_NOT_FOUND</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#MISSING_PAYLOAD">MISSING_PAYLOAD</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_EXCEPTION">RUNTIME_EXCEPTION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_FUNCTION_EXCEPTION">RUNTIME_FUNCTION_EXCEPTION</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#RUNTIME_FUNCTION_NOT_FOUND">RUNTIME_FUNCTION_NOT_FOUND</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#UNKNOWN">UNKNOWN</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#UNRECOGNISED_PAYLOAD">UNRECOGNISED_PAYLOAD</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="UNKNOWN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNKNOWN</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> UNKNOWN</pre>
</li>
</ul>
<a name="RUNTIME_EXCEPTION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RUNTIME_EXCEPTION</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_EXCEPTION</pre>
</li>
</ul>
<a name="UNRECOGNISED_PAYLOAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UNRECOGNISED_PAYLOAD</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> UNRECOGNISED_PAYLOAD</pre>
</li>
</ul>
<a name="MISSING_PAYLOAD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MISSING_PAYLOAD</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MISSING_PAYLOAD</pre>
</li>
</ul>
<a name="BAD_INPUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BAD_INPUT</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> BAD_INPUT</pre>
</li>
</ul>
<a name="MATCH_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_NOT_FOUND</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MATCH_NOT_FOUND</pre>
</li>
</ul>
<a name="MATCH_JOIN_REJECTED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MATCH_JOIN_REJECTED</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> MATCH_JOIN_REJECTED</pre>
</li>
</ul>
<a name="RUNTIME_FUNCTION_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RUNTIME_FUNCTION_NOT_FOUND</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_FUNCTION_NOT_FOUND</pre>
</li>
</ul>
<a name="RUNTIME_FUNCTION_EXCEPTION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RUNTIME_FUNCTION_EXCEPTION</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a> RUNTIME_FUNCTION_EXCEPTION</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Error.ErrorCode c : Error.ErrorCode.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.ErrorCode.html" target="_top">Frames</a></li>
<li><a href="Error.ErrorCode.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Error (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Error (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.html" target="_top">Frames</a></li>
<li><a href="Error.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Error" class="title">Class Error</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Throwable</li>
<li>
<ul class="inheritance">
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Error</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">Error</span>
extends java.lang.Exception</pre>
<div class="block">An error caused from an operation with the server.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#com.heroiclabs.nakama.Error">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></span></code>
<div class="block">The error code for the problem.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.html#getCode--">getCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Error.html#getCollationId--">getCollationId</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Throwable</h3>
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>public abstract&nbsp;<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a>&nbsp;getCode()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The code for the error.</dd>
</dl>
</li>
</ul>
<a name="getCollationId--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCollationId</h4>
<pre>public abstract&nbsp;java.lang.String&nbsp;getCollationId()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The collation ID associated with this error. Could be null.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Error.html" target="_top">Frames</a></li>
<li><a href="Error.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,283 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>GsonDateDeserializer (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GsonDateDeserializer (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/GsonDateDeserializer.html" target="_top">Frames</a></li>
<li><a href="GsonDateDeserializer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class GsonDateDeserializer" class="title">Class GsonDateDeserializer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.GsonDateDeserializer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">GsonDateDeserializer</span>
extends java.lang.Object
implements com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</pre>
<div class="block">A custom Date serializer to indicate to GSON that it is receiving UTC timestamps.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html#GsonDateDeserializer--">GsonDateDeserializer</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html#deserialize-com.google.gson.JsonElement-java.lang.reflect.Type-com.google.gson.JsonDeserializationContext-">deserialize</a></span>(com.google.gson.JsonElement&nbsp;element,
java.lang.reflect.Type&nbsp;arg1,
com.google.gson.JsonDeserializationContext&nbsp;arg2)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GsonDateDeserializer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GsonDateDeserializer</h4>
<pre>public&nbsp;GsonDateDeserializer()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="deserialize-com.google.gson.JsonElement-java.lang.reflect.Type-com.google.gson.JsonDeserializationContext-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deserialize</h4>
<pre>public&nbsp;java.util.Date&nbsp;deserialize(com.google.gson.JsonElement&nbsp;element,
java.lang.reflect.Type&nbsp;arg1,
com.google.gson.JsonDeserializationContext&nbsp;arg2)
throws com.google.gson.JsonParseException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>deserialize</code>&nbsp;in interface&nbsp;<code>com.google.gson.JsonDeserializer&lt;java.util.Date&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>com.google.gson.JsonParseException</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/GsonDateDeserializer.html" target="_top">Frames</a></li>
<li><a href="GsonDateDeserializer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+380
View File
@@ -0,0 +1,380 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Match (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Match (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Match.html" target="_top">Frames</a></li>
<li><a href="Match.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Match" class="title">Class Match</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Match</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Match</span>
extends java.lang.Object</pre>
<div class="block">A multiplayer match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getLabel--">getLabel</a></span>()</code>
<div class="block">A label for the match which can be filtered on.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The presences already in the match.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The current user in this match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#getSize--">getSize</a></span>()</code>
<div class="block">The number of users currently in the match.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#isAuthoritative--">isAuthoritative</a></span>()</code>
<div class="block">True if this match has an authoritative handler on the server.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Match.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isAuthoritative--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAuthoritative</h4>
<pre>public&nbsp;boolean&nbsp;isAuthoritative()</pre>
<div class="block">True if this match has an authoritative handler on the server.</div>
</li>
</ul>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLabel()</pre>
<div class="block">A label for the match which can be filtered on.</div>
</li>
</ul>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The presences already in the match.</div>
</li>
</ul>
<a name="getSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;int&nbsp;getSize()</pre>
<div class="block">The number of users currently in the match.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSelf()</pre>
<div class="block">The current user in this match. i.e. Yourself.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Match.html" target="_top">Frames</a></li>
<li><a href="Match.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+369
View File
@@ -0,0 +1,369 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchData (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchData (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchData.html" target="_top">Frames</a></li>
<li><a href="MatchData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchData" class="title">Class MatchData</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchData</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchData</span>
extends java.lang.Object</pre>
<div class="block">Some game state update in a match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getData--">getData</a></span>()</code>
<div class="block">Returns match data</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getOpCode--">getOpCode</a></span>()</code>
<div class="block">The operation code for the state change.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#getPresence--">getPresence</a></span>()</code>
<div class="block">Information on the user who sent the state change.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#isReliable--">isReliable</a></span>()</code>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchData.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public&nbsp;byte[]&nbsp;getData()</pre>
<div class="block">Returns match data</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>match data</dd>
</dl>
</li>
</ul>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getOpCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpCode</h4>
<pre>public&nbsp;long&nbsp;getOpCode()</pre>
<div class="block">The operation code for the state change.
This value can be used to mark the type of the contents of the state.</div>
</li>
</ul>
<a name="getPresence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresence</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getPresence()</pre>
<div class="block">Information on the user who sent the state change.</div>
</li>
</ul>
<a name="isReliable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReliable</h4>
<pre>public&nbsp;boolean&nbsp;isReliable()</pre>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchData.html" target="_top">Frames</a></li>
<li><a href="MatchData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,332 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="MatchPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchPresenceEvent" class="title">Class MatchPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of join and leave presences for a match.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who joined the match.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the match.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The unique match identifier.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The unique match identifier.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who joined the match.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the match.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="MatchPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,365 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerMatched (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerMatched (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerMatched.html" target="_top">Frames</a></li>
<li><a href="MatchmakerMatched.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerMatched" class="title">Class MatchmakerMatched</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerMatched</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerMatched</span>
extends java.lang.Object</pre>
<div class="block">The result of a successful matchmaker operation sent to the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getMatchId--">getMatchId</a></span>()</code>
<div class="block">The id used to join the match.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getSelf--">getSelf</a></span>()</code>
<div class="block">The current user who matched with opponents.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getTicket--">getTicket</a></span>()</code>
<div class="block">The ticket sent by the server when the user requested to matchmake for other players.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getToken--">getToken</a></span>()</code>
<div class="block">The token used to join a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#getUsers--">getUsers</a></span>()</code>
<div class="block">The other users matched with this user and the parameters they sent.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMatchId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMatchId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getMatchId()</pre>
<div class="block">The id used to join the match.
A match ID used to join the match.</div>
</li>
</ul>
<a name="getTicket--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTicket</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTicket()</pre>
<div class="block">The ticket sent by the server when the user requested to matchmake for other players.</div>
</li>
</ul>
<a name="getToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToken</h4>
<pre>public&nbsp;java.lang.String&nbsp;getToken()</pre>
<div class="block">The token used to join a match.</div>
</li>
</ul>
<a name="getUsers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsers</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&gt;&nbsp;getUsers()</pre>
<div class="block">The other users matched with this user and the parameters they sent.</div>
</li>
</ul>
<a name="getSelf--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelf</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a>&nbsp;getSelf()</pre>
<div class="block">The current user who matched with opponents.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerMatched.html" target="_top">Frames</a></li>
<li><a href="MatchmakerMatched.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerTicket (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerTicket (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerTicket.html" target="_top">Frames</a></li>
<li><a href="MatchmakerTicket.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerTicket" class="title">Class MatchmakerTicket</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerTicket</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerTicket</span>
extends java.lang.Object</pre>
<div class="block">The matchmaker ticket received from the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#getTicket--">getTicket</a></span>()</code>
<div class="block">The ticket generated by the matchmaker.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTicket--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTicket</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTicket()</pre>
<div class="block">The ticket generated by the matchmaker.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerTicket.html" target="_top">Frames</a></li>
<li><a href="MatchmakerTicket.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,332 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>MatchmakerUser (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MatchmakerUser (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerUser.html" target="_top">Frames</a></li>
<li><a href="MatchmakerUser.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class MatchmakerUser" class="title">Class MatchmakerUser</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.MatchmakerUser</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">MatchmakerUser</span>
extends java.lang.Object</pre>
<div class="block">The user with the parameters they sent to the server when asking for opponents.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.Double&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getNumericProperties--">getNumericProperties</a></span>()</code>
<div class="block">The numeric properties which this user asked to matchmake with.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getPresence--">getPresence</a></span>()</code>
<div class="block">The presence of the user.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#getStringProperties--">getStringProperties</a></span>()</code>
<div class="block">The string properties which this user asked to matchmake with.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getNumericProperties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumericProperties</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;getNumericProperties()</pre>
<div class="block">The numeric properties which this user asked to matchmake with.</div>
</li>
</ul>
<a name="getPresence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresence</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getPresence()</pre>
<div class="block">The presence of the user.</div>
</li>
</ul>
<a name="getStringProperties--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringProperties</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getStringProperties()</pre>
<div class="block">The string properties which this user asked to matchmake with.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/MatchmakerUser.html" target="_top">Frames</a></li>
<li><a href="MatchmakerUser.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,362 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>PermissionRead (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PermissionRead (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionRead.html" target="_top">Frames</a></li>
<li><a href="PermissionRead.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum PermissionRead" class="title">Enum PermissionRead</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.PermissionRead</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">PermissionRead</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&gt;</pre>
<div class="block">Storage read permissions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#NO_READ">NO_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#OWNER_READ">OWNER_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#PUBLIC_READ">PUBLIC_READ</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionRead.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="NO_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NO_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> NO_READ</pre>
</li>
</ul>
<a name="OWNER_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OWNER_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> OWNER_READ</pre>
</li>
</ul>
<a name="PUBLIC_READ">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PUBLIC_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a> PUBLIC_READ</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (PermissionRead c : PermissionRead.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionRead.html" target="_top">Frames</a></li>
<li><a href="PermissionRead.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,350 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>PermissionWrite (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PermissionWrite (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionWrite.html" target="_top">Frames</a></li>
<li><a href="PermissionWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Enum PermissionWrite" class="title">Enum PermissionWrite</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.PermissionWrite</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="typeNameLabel">PermissionWrite</span>
extends java.lang.Enum&lt;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&gt;</pre>
<div class="block">Storage write permissions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#NO_READ">NO_READ</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#OWNER_WRITE">OWNER_WRITE</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#getValue--">getValue</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="NO_READ">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NO_READ</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> NO_READ</pre>
</li>
</ul>
<a name="OWNER_WRITE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OWNER_WRITE</h4>
<pre>public static final&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a> OWNER_WRITE</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (PermissionWrite c : PermissionWrite.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;int&nbsp;getValue()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/PermissionWrite.html" target="_top">Frames</a></li>
<li><a href="PermissionWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+366
View File
@@ -0,0 +1,366 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Session (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Session (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Session.html" target="_top">Frames</a></li>
<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface Session" class="title">Interface Session</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Session</span></pre>
<div class="block">A session used with requests sent to Nakama server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getAuthToken--">getAuthToken</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getCreateTime--">getCreateTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getExpireTime--">getExpireTime</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getUserId--">getUserId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getUsername--">getUsername</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#getVars--">getVars</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#isCreated--">isCreated</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#IsExpired--">IsExpired</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Session.html#isExpired-java.util.Date-">isExpired</a></span>(java.util.Date&nbsp;dateTime)</code>
<div class="block">Check if the session has expired against the input time.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getAuthToken--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthToken</h4>
<pre>java.lang.String&nbsp;getAuthToken()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The authentication token used to construct this session.</dd>
</dl>
</li>
</ul>
<a name="isCreated--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreated</h4>
<pre>boolean&nbsp;isCreated()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the user account for this session was just created.</dd>
</dl>
</li>
</ul>
<a name="getCreateTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreateTime</h4>
<pre>long&nbsp;getCreateTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session object was created.</dd>
</dl>
</li>
</ul>
<a name="getExpireTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpireTime</h4>
<pre>long&nbsp;getExpireTime()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The timestamp in seconds when this session will expire.</dd>
</dl>
</li>
</ul>
<a name="IsExpired--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IsExpired</h4>
<pre>boolean&nbsp;IsExpired()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the session has expired against the current time.</dd>
</dl>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>java.lang.String&nbsp;getUsername()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The username of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>java.lang.String&nbsp;getUserId()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The ID of the user who owns this session.</dd>
</dl>
</li>
</ul>
<a name="isExpired-java.util.Date-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpired</h4>
<pre>boolean&nbsp;isExpired(java.util.Date&nbsp;dateTime)</pre>
<div class="block">Check if the session has expired against the input time.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dateTime</code> - The time to compare against the session.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the session has expired.</dd>
</dl>
</li>
</ul>
<a name="getVars--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getVars</h4>
<pre>java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getVars()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Get session vars.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Session.html" target="_top">Frames</a></li>
<li><a href="Session.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,987 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SocketClient (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SocketClient (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketClient.html" target="_top">Frames</a></li>
<li><a href="SocketClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface SocketClient" class="title">Interface SocketClient</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SocketClient</span></pre>
<div class="block">A socket connection to the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker--">addMatchmaker</a></span>()</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-">addMatchmaker</a></span>(int&nbsp;minCount)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-java.util.Map-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#addMatchmaker-int-int-java.lang.String-java.util.Map-java.util.Map-">addMatchmaker</a></span>(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties,
java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;numericProperties)</code>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-">connect</a></span>(@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener)</code>
<div class="block">Connect to the server.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-boolean-">connect</a></span>(@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener,
boolean&nbsp;createStatus)</code>
<div class="block">Connect to the server.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#createMatch--">createMatch</a></span>()</code>
<div class="block">Create a multiplayer match on the server.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Boolean&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#disconnect--">disconnect</a></span>()</code>
<div class="block">Close the connection with the server.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#followUsers-java.util.List-java.lang.String...-">followUsers</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;userIds,
java.lang.String...&nbsp;usernames)</code>
<div class="block">Follow one or more users for status updates.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#followUsers-java.lang.String...-">followUsers</a></span>(java.lang.String...&nbsp;userIds)</code>
<div class="block">Follow one or more users for status updates.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-boolean-">joinChat</a></span>(@NonNull java.lang.String&nbsp;target,
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence,
boolean&nbsp;hidden)</code>
<div class="block">Join a chat channel on the server.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatch-java.lang.String-">joinMatch</a></span>(@NonNull java.lang.String&nbsp;matchId)</code>
<div class="block">Join a multiplayer match by ID.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatch-java.lang.String-java.util.Map-">joinMatch</a></span>(@NonNull java.lang.String&nbsp;matchId,
@NonNull java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;metadata)</code>
<div class="block">Join a multiplayer match by ID.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#joinMatchToken-java.lang.String-">joinMatchToken</a></span>(@NonNull java.lang.String&nbsp;token)</code>
<div class="block">Join a multiplayer match with a matchmaker.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#leaveChat-java.lang.String-">leaveChat</a></span>(@NonNull java.lang.String&nbsp;channelId)</code>
<div class="block">Leave a chat channel on the server.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#leaveMatch-java.lang.String-">leaveMatch</a></span>(@NonNull java.lang.String&nbsp;matchId)</code>
<div class="block">Leave a match on the server.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#removeChatMessage-java.lang.String-java.lang.String-">removeChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;messageId)</code>
<div class="block">Remove a chat message from a channel on the server.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#removeMatchmaker-java.lang.String-">removeMatchmaker</a></span>(@NonNull java.lang.String&nbsp;ticket)</code>
<div class="block">Leave the matchmaker pool by ticket.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#rpc-java.lang.String-">rpc</a></span>(@NonNull java.lang.String&nbsp;id)</code>
<div class="block">Send an RPC message to the server.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#rpc-java.lang.String-java.lang.String-">rpc</a></span>(@NonNull java.lang.String&nbsp;id,
java.lang.String&nbsp;payload)</code>
<div class="block">Send an RPC message to the server.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#sendMatchData-java.lang.String-long-byte:A-">sendMatchData</a></span>(@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull byte[]&nbsp;data)</code>
<div class="block">Send a state change to a match on the server.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#sendMatchData-java.lang.String-long-byte:A-com.heroiclabs.nakama.UserPresence...-">sendMatchData</a></span>(@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull byte[]&nbsp;data,
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>...&nbsp;presences)</code>
<div class="block">Send a state change to a match on the server.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#unfollowUsers-java.lang.String...-">unfollowUsers</a></span>(java.lang.String...&nbsp;userIds)</code>
<div class="block">Unfollow status updates for one or more users.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#updateChatMessage-java.lang.String-java.lang.String-java.lang.String-">updateChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;messageId,
@NonNull java.lang.String&nbsp;content)</code>
<div class="block">Update a chat message to a channel on the server.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#updateStatus-java.lang.String-">updateStatus</a></span>(java.lang.String&nbsp;status)</code>
<div class="block">Update the user's status online.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketClient.html#writeChatMessage-java.lang.String-java.lang.String-">writeChatMessage</a></span>(@NonNull java.lang.String&nbsp;channelId,
@NonNull java.lang.String&nbsp;content)</code>
<div class="block">Send a chat message to a channel on the server.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;&nbsp;connect(@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener)</pre>
<div class="block">Connect to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The session of the user.</dd>
<dd><code>listener</code> - An event listener to notify on updates.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="connect-com.heroiclabs.nakama.Session-com.heroiclabs.nakama.SocketListener-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&gt;&nbsp;connect(@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>&nbsp;session,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>&nbsp;listener,
boolean&nbsp;createStatus)</pre>
<div class="block">Connect to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The session of the user.</dd>
<dd><code>listener</code> - An event listener to notify on updates.</dd>
<dd><code>createStatus</code> - True if the socket should show the user as online to others.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="disconnect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disconnect</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Boolean&gt;&nbsp;disconnect()</pre>
<div class="block">Close the connection with the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A close future.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dd><code>persistence</code> - True if chat messages should be stored.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="joinChat-java.lang.String-com.heroiclabs.nakama.ChannelType-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a>&gt;&nbsp;joinChat(@NonNull
@NonNull java.lang.String&nbsp;target,
@NonNull
@NonNull <a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a>&nbsp;type,
boolean&nbsp;persistence,
boolean&nbsp;hidden)</pre>
<div class="block">Join a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - The target channel to join.</dd>
<dd><code>type</code> - The type of channel to join.</dd>
<dd><code>persistence</code> - True if chat messages should be stored.</dd>
<dd><code>hidden</code> - True if the user should be hidden on the channel.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel response.</dd>
</dl>
</li>
</ul>
<a name="leaveChat-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leaveChat</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;leaveChat(@NonNull
@NonNull java.lang.String&nbsp;channelId)</pre>
<div class="block">Leave a chat channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The channel to leave.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="removeChatMessage-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;removeChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;messageId)</pre>
<div class="block">Remove a chat message from a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The chat channel with the message.</dd>
<dd><code>messageId</code> - The ID of a chat message to update.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="writeChatMessage-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;writeChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;content)</pre>
<div class="block">Send a chat message to a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The channel to send on.</dd>
<dd><code>content</code> - The content of the chat message.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a Channel Ack response.</dd>
</dl>
</li>
</ul>
<a name="updateChatMessage-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateChatMessage</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a>&gt;&nbsp;updateChatMessage(@NonNull
@NonNull java.lang.String&nbsp;channelId,
@NonNull
@NonNull java.lang.String&nbsp;messageId,
@NonNull
@NonNull java.lang.String&nbsp;content)</pre>
<div class="block">Update a chat message to a channel on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channelId</code> - The ID of the chat channel with the message.</dd>
<dd><code>messageId</code> - The ID of the message to update.</dd>
<dd><code>content</code> - The content update for the message.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="createMatch--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;createMatch()</pre>
<div class="block">Create a multiplayer match on the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="joinMatch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId)</pre>
<div class="block">Join a multiplayer match by ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - A match ID.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="joinMatch-java.lang.String-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId,
@NonNull
@NonNull java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;metadata)</pre>
<div class="block">Join a multiplayer match by ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - A match ID.</dd>
<dd><code>metadata</code> - An optional set of key-value metadata pairs to be passed to the match handler, if any.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="joinMatchToken-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>joinMatchToken</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a>&gt;&nbsp;joinMatchToken(@NonNull
@NonNull java.lang.String&nbsp;token)</pre>
<div class="block">Join a multiplayer match with a matchmaker.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>token</code> - A matchmaker ticket result object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to the match joined.</dd>
</dl>
</li>
</ul>
<a name="leaveMatch-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>leaveMatch</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;leaveMatch(@NonNull
@NonNull java.lang.String&nbsp;matchId)</pre>
<div class="block">Leave a match on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The match to leave.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker()</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dd><code>stringProperties</code> - A set of k/v properties to provide in searches.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="addMatchmaker-int-int-java.lang.String-java.util.Map-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a>&gt;&nbsp;addMatchmaker(int&nbsp;minCount,
int&nbsp;maxCount,
java.lang.String&nbsp;query,
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;stringProperties,
java.util.Map&lt;java.lang.String,java.lang.Double&gt;&nbsp;numericProperties)</pre>
<div class="block">Join the matchmaker pool and search for opponents on the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>query</code> - A matchmaker query to search for opponents.</dd>
<dd><code>minCount</code> - The minimum number of players to compete against.</dd>
<dd><code>maxCount</code> - The maximum number of players to compete against.</dd>
<dd><code>stringProperties</code> - A set of k/v properties to provide in searches.</dd>
<dd><code>numericProperties</code> - A set of k/v numeric properties to provide in searches.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to a matchmaker ticket object.</dd>
</dl>
</li>
</ul>
<a name="removeMatchmaker-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeMatchmaker</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;removeMatchmaker(@NonNull
@NonNull java.lang.String&nbsp;ticket)</pre>
<div class="block">Leave the matchmaker pool by ticket.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ticket</code> - The ticket returned by the matchmaker on join. See IMatchmakerTicket.Ticket.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="sendMatchData-java.lang.String-long-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMatchData</h4>
<pre>void&nbsp;sendMatchData(@NonNull
@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull
@NonNull byte[]&nbsp;data)</pre>
<div class="block">Send a state change to a match on the server.
When no presences are supplied the new match state will be sent to all presences.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The Id of the match.</dd>
<dd><code>opCode</code> - An operation code for the match state.</dd>
<dd><code>data</code> - The new state to send to the match.</dd>
</dl>
</li>
</ul>
<a name="sendMatchData-java.lang.String-long-byte:A-com.heroiclabs.nakama.UserPresence...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendMatchData</h4>
<pre>void&nbsp;sendMatchData(@NonNull
@NonNull java.lang.String&nbsp;matchId,
long&nbsp;opCode,
@NonNull
@NonNull byte[]&nbsp;data,
<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>...&nbsp;presences)</pre>
<div class="block">Send a state change to a match on the server.
When no presences are supplied the new match state will be sent to all presences.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchId</code> - The Id of the match.</dd>
<dd><code>opCode</code> - An operation code for the match state.</dd>
<dd><code>data</code> - The new state to send to the match.</dd>
<dd><code>presences</code> - The presences in the match to send the state.</dd>
</dl>
</li>
</ul>
<a name="rpc-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpc</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;&nbsp;rpc(@NonNull
@NonNull java.lang.String&nbsp;id)</pre>
<div class="block">Send an RPC message to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - The ID of the function to execute.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to an RPC response.</dd>
</dl>
</li>
</ul>
<a name="rpc-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rpc</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;com.heroiclabs.nakama.api.Rpc&gt;&nbsp;rpc(@NonNull
@NonNull java.lang.String&nbsp;id,
java.lang.String&nbsp;payload)</pre>
<div class="block">Send an RPC message to the server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - The ID of the function to execute.</dd>
<dd><code>payload</code> - The string content to send to the server.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future which resolves to an RPC response.</dd>
</dl>
</li>
</ul>
<a name="followUsers-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>followUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;&nbsp;followUsers(@NonNull
java.lang.String...&nbsp;userIds)</pre>
<div class="block">Follow one or more users for status updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The user Ids to follow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="followUsers-java.util.List-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>followUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a>&gt;&nbsp;followUsers(java.util.List&lt;java.lang.String&gt;&nbsp;userIds,
java.lang.String...&nbsp;usernames)</pre>
<div class="block">Follow one or more users for status updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The user Ids to follow.</dd>
<dd><code>usernames</code> - Usernames to follow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="unfollowUsers-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unfollowUsers</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;unfollowUsers(@NonNull
java.lang.String...&nbsp;userIds)</pre>
<div class="block">Unfollow status updates for one or more users.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>userIds</code> - The ids of users to unfollow.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
<a name="updateStatus-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateStatus</h4>
<pre>com.google.common.util.concurrent.ListenableFuture&lt;java.lang.Void&gt;&nbsp;updateStatus(java.lang.String&nbsp;status)</pre>
<div class="block">Update the user's status online.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>status</code> - The new status of the user.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A future.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketClient.html" target="_top">Frames</a></li>
<li><a href="SocketClient.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,428 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SocketListener (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SocketListener (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketListener.html" target="_top">Frames</a></li>
<li><a href="SocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Interface SocketListener" class="title">Interface SocketListener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SocketListener</span></pre>
<div class="block">A listener for receiving <code>Client</code> events.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">onChannelMessage</a></span>(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</code>
<div class="block">Called when a new topic message has been received.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">onChannelPresence</a></span>(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when a new topic presence update has been received.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onDisconnect-java.lang.Throwable-">onDisconnect</a></span>(java.lang.Throwable&nbsp;t)</code>
<div class="block">Called when the client socket disconnects.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onError-com.heroiclabs.nakama.Error-">onError</a></span>(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</code>
<div class="block">Called when the client receives an error.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchData-com.heroiclabs.nakama.MatchData-">onMatchData</a></span>(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</code>
<div class="block">Called when a new match data is received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">onMatchmakerMatched</a></span>(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</code>
<div class="block">Called when a matchmaking has found a match.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">onMatchPresence</a></span>(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</code>
<div class="block">Called when a new match presence update is received.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onNotifications-com.heroiclabs.nakama.api.NotificationList-">onNotifications</a></span>(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</code>
<div class="block">Called when the client receives new notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">onStatusPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives status presence updates.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamData-com.heroiclabs.nakama.StreamData-">onStreamData</a></span>(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</code>
<div class="block">Called when the client receives stream data.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/SocketListener.html#onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">onStreamPresence</a></span>(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</code>
<div class="block">Called when the client receives stream presence updates.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="onDisconnect-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onDisconnect</h4>
<pre>void&nbsp;onDisconnect(java.lang.Throwable&nbsp;t)</pre>
<div class="block">Called when the client socket disconnects.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - Throwable t is set if an error caused the disconnect.</dd>
</dl>
</li>
</ul>
<a name="onError-com.heroiclabs.nakama.Error-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onError</h4>
<pre>void&nbsp;onError(<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a>&nbsp;error)</pre>
<div class="block">Called when the client receives an error.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>error</code> - The <code>Error</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelMessage-com.heroiclabs.nakama.api.ChannelMessage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelMessage</h4>
<pre>void&nbsp;onChannelMessage(com.heroiclabs.nakama.api.ChannelMessage&nbsp;message)</pre>
<div class="block">Called when a new topic message has been received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The <code>ChannelMessage</code> received.</dd>
</dl>
</li>
</ul>
<a name="onChannelPresence-com.heroiclabs.nakama.ChannelPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onChannelPresence</h4>
<pre>void&nbsp;onChannelPresence(<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when a new topic presence update has been received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - The <code>ChannelPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchmakerMatched-com.heroiclabs.nakama.MatchmakerMatched-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchmakerMatched</h4>
<pre>void&nbsp;onMatchmakerMatched(<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a>&nbsp;matched)</pre>
<div class="block">Called when a matchmaking has found a match.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matched</code> - The <code>MatchmakerMatched</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchData-com.heroiclabs.nakama.MatchData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchData</h4>
<pre>void&nbsp;onMatchData(<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a>&nbsp;matchData)</pre>
<div class="block">Called when a new match data is received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchData</code> - The <code>MatchData</code> received.</dd>
</dl>
</li>
</ul>
<a name="onMatchPresence-com.heroiclabs.nakama.MatchPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onMatchPresence</h4>
<pre>void&nbsp;onMatchPresence(<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a>&nbsp;matchPresence)</pre>
<div class="block">Called when a new match presence update is received.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>matchPresence</code> - The <code>MatchPresenceEvent</code> received.</dd>
</dl>
</li>
</ul>
<a name="onNotifications-com.heroiclabs.nakama.api.NotificationList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNotifications</h4>
<pre>void&nbsp;onNotifications(com.heroiclabs.nakama.api.NotificationList&nbsp;notifications)</pre>
<div class="block">Called when the client receives new notifications.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>notifications</code> - The list of <code>Notification</code> received.</dd>
</dl>
</li>
</ul>
<a name="onStatusPresence-com.heroiclabs.nakama.StatusPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusPresence</h4>
<pre>void&nbsp;onStatusPresence(<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives status presence updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StatusPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamPresence-com.heroiclabs.nakama.StreamPresenceEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamPresence</h4>
<pre>void&nbsp;onStreamPresence(<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a>&nbsp;presence)</pre>
<div class="block">Called when the client receives stream presence updates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>presence</code> - Updated <code>StreamPresenceEvent</code> presence.</dd>
</dl>
</li>
</ul>
<a name="onStreamData-com.heroiclabs.nakama.StreamData-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onStreamData</h4>
<pre>void&nbsp;onStreamData(<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a>&nbsp;data)</pre>
<div class="block">Called when the client receives stream data.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>data</code> - Stream <code>StreamData</code> data received.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/SocketListener.html" target="_top">Frames</a></li>
<li><a href="SocketListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+300
View File
@@ -0,0 +1,300 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Status (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Status (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Status.html" target="_top">Frames</a></li>
<li><a href="Status.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Status" class="title">Class Status</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Status</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Status</span>
extends java.lang.Object</pre>
<div class="block">Receive status updates for users.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#getPresences--">getPresences</a></span>()</code>
<div class="block">The status events for the users followed.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Status.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPresences--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPresences</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getPresences()</pre>
<div class="block">The status events for the users followed.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Status.html" target="_top">Frames</a></li>
<li><a href="Status.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,318 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StatusPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StatusPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StatusPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StatusPresenceEvent" class="title">Class StatusPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StatusPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StatusPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A status update event about other users who've come online or gone offline.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who joined the server.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who left the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who joined the server.
This join information is in response to a subscription made to be notified when a user comes online.</div>
</li>
</ul>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who left the server.
This leave information is in response to a subscription made to be notified when a user goes offline.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StatusPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,331 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StatusUnfollowMessage (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StatusUnfollowMessage (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusUnfollowMessage.html" target="_top">Frames</a></li>
<li><a href="StatusUnfollowMessage.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StatusUnfollowMessage" class="title">Class StatusUnfollowMessage</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StatusUnfollowMessage</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StatusUnfollowMessage</span>
extends java.lang.Object</pre>
<div class="block">Unfollow one or more other users for status updates.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#StatusUnfollowMessage-java.util.List-">StatusUnfollowMessage</a></span>(java.util.List&lt;java.lang.String&gt;&nbsp;userIds)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#getUserIds--">getUserIds</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StatusUnfollowMessage-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StatusUnfollowMessage</h4>
<pre>public&nbsp;StatusUnfollowMessage(java.util.List&lt;java.lang.String&gt;&nbsp;userIds)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getUserIds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserIds</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getUserIds()</pre>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StatusUnfollowMessage.html" target="_top">Frames</a></li>
<li><a href="StatusUnfollowMessage.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,430 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StorageObjectId (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StorageObjectId (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectId.html" target="_top">Frames</a></li>
<li><a href="StorageObjectId.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StorageObjectId" class="title">Class StorageObjectId</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StorageObjectId</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StorageObjectId</span>
extends java.lang.Object</pre>
<div class="block">An identifier for a storage object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#StorageObjectId-java.lang.String-">StorageObjectId</a></span>(java.lang.String&nbsp;collection)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getCollection--">getCollection</a></span>()</code>
<div class="block">The collection which stores the object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getKey--">getKey</a></span>()</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getUserId--">getUserId</a></span>()</code>
<div class="block">The user owner of the object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#getVersion--">getVersion</a></span>()</code>
<div class="block">The version hash of the object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setKey-java.lang.String-">setKey</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setUserId-java.lang.String-">setUserId</a></span>(java.lang.String&nbsp;userId)</code>
<div class="block">The user owner of the object.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String&nbsp;version)</code>
<div class="block">The version hash of the object.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StorageObjectId-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StorageObjectId</h4>
<pre>public&nbsp;StorageObjectId(java.lang.String&nbsp;collection)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCollection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollection</h4>
<pre>public&nbsp;java.lang.String&nbsp;getCollection()</pre>
<div class="block">The collection which stores the object.</div>
</li>
</ul>
<a name="getKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;java.lang.String&nbsp;getKey()</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public&nbsp;java.lang.String&nbsp;getVersion()</pre>
<div class="block">The version hash of the object.</div>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<div class="block">The user owner of the object.</div>
</li>
</ul>
<a name="setKey-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKey</h4>
<pre>public&nbsp;void&nbsp;setKey(java.lang.String&nbsp;key)</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="setVersion-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersion</h4>
<pre>public&nbsp;void&nbsp;setVersion(java.lang.String&nbsp;version)</pre>
<div class="block">The version hash of the object.</div>
</li>
</ul>
<a name="setUserId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserId</h4>
<pre>public&nbsp;void&nbsp;setUserId(java.lang.String&nbsp;userId)</pre>
<div class="block">The user owner of the object.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectId.html" target="_top">Frames</a></li>
<li><a href="StorageObjectId.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,438 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StorageObjectWrite (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StorageObjectWrite (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectWrite.html" target="_top">Frames</a></li>
<li><a href="StorageObjectWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StorageObjectWrite" class="title">Class StorageObjectWrite</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StorageObjectWrite</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StorageObjectWrite</span>
extends java.lang.Object</pre>
<div class="block">An identifier and values for a storage object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#StorageObjectWrite-java.lang.String-java.lang.String-java.lang.String-com.heroiclabs.nakama.PermissionRead-com.heroiclabs.nakama.PermissionWrite-">StorageObjectWrite</a></span>(java.lang.String&nbsp;collection,
java.lang.String&nbsp;key,
java.lang.String&nbsp;value,
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;permissionRead,
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;permissionWrite)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getCollection--">getCollection</a></span>()</code>
<div class="block">The collection which stores the object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getKey--">getKey</a></span>()</code>
<div class="block">The key of the object within the collection.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getPermissionRead--">getPermissionRead</a></span>()</code>
<div class="block">Read permission of the object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getPermissionWrite--">getPermissionWrite</a></span>()</code>
<div class="block">Write permission of the object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getValue--">getValue</a></span>()</code>
<div class="block">The actual content of the object.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#getVersion--">getVersion</a></span>()</code>
<div class="block">The version hash of the object to check against the server.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#setVersion-java.lang.String-">setVersion</a></span>(java.lang.String&nbsp;version)</code>
<div class="block">The version hash of the object to check against the server.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StorageObjectWrite-java.lang.String-java.lang.String-java.lang.String-com.heroiclabs.nakama.PermissionRead-com.heroiclabs.nakama.PermissionWrite-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StorageObjectWrite</h4>
<pre>public&nbsp;StorageObjectWrite(java.lang.String&nbsp;collection,
java.lang.String&nbsp;key,
java.lang.String&nbsp;value,
<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;permissionRead,
<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;permissionWrite)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getCollection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollection</h4>
<pre>public&nbsp;java.lang.String&nbsp;getCollection()</pre>
<div class="block">The collection which stores the object.</div>
</li>
</ul>
<a name="getKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKey</h4>
<pre>public&nbsp;java.lang.String&nbsp;getKey()</pre>
<div class="block">The key of the object within the collection.</div>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.lang.String&nbsp;getValue()</pre>
<div class="block">The actual content of the object. Must be JSON.</div>
</li>
</ul>
<a name="getPermissionRead--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPermissionRead</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a>&nbsp;getPermissionRead()</pre>
<div class="block">Read permission of the object.</div>
</li>
</ul>
<a name="getPermissionWrite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPermissionWrite</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a>&nbsp;getPermissionWrite()</pre>
<div class="block">Write permission of the object.</div>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public&nbsp;java.lang.String&nbsp;getVersion()</pre>
<div class="block">The version hash of the object to check against the server.</div>
</li>
</ul>
<a name="setVersion-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersion</h4>
<pre>public&nbsp;void&nbsp;setVersion(java.lang.String&nbsp;version)</pre>
<div class="block">The version hash of the object to check against the server.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StorageObjectWrite.html" target="_top">Frames</a></li>
<li><a href="StorageObjectWrite.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+348
View File
@@ -0,0 +1,348 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Stream (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Stream (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class Stream" class="title">Class Stream</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.Stream</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Stream</span>
extends java.lang.Object</pre>
<div class="block">A realtime socket stream on the server.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getDescriptor--">getDescriptor</a></span>()</code>
<div class="block">The descriptor of the stream.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getLabel--">getLabel</a></span>()</code>
<div class="block">Identifies streams which have a context across users like a chat channel room.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getMode--">getMode</a></span>()</code>
<div class="block">The mode of the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#getSubject--">getSubject</a></span>()</code>
<div class="block">The subject of the stream.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/Stream.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDescriptor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public&nbsp;java.lang.String&nbsp;getDescriptor()</pre>
<div class="block">The descriptor of the stream. Used with direct chat messages and contains a second user id.</div>
</li>
</ul>
<a name="getLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLabel()</pre>
<div class="block">Identifies streams which have a context across users like a chat channel room.</div>
</li>
</ul>
<a name="getMode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMode</h4>
<pre>public&nbsp;int&nbsp;getMode()</pre>
<div class="block">The mode of the stream.</div>
</li>
</ul>
<a name="getSubject--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubject</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubject()</pre>
<div class="block">The subject of the stream. This is usually a user id.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/Stream.html" target="_top">Frames</a></li>
<li><a href="Stream.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+348
View File
@@ -0,0 +1,348 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StreamData (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamData (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamData.html" target="_top">Frames</a></li>
<li><a href="StreamData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StreamData" class="title">Class StreamData</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StreamData</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StreamData</span>
extends java.lang.Object</pre>
<div class="block">A state change received from a stream.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getData--">getData</a></span>()</code>
<div class="block">The contents of the state change.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getSender--">getSender</a></span>()</code>
<div class="block">The user who sent the state change.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#getStream--">getStream</a></span>()</code>
<div class="block">The identifier for the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#isReliable--">isReliable</a></span>()</code>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamData.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getSender--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSender</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&nbsp;getSender()</pre>
<div class="block">The user who sent the state change. May be <c>null</c>.</div>
</li>
</ul>
<a name="getData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getData()</pre>
<div class="block">The contents of the state change.</div>
</li>
</ul>
<a name="getStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStream</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a>&nbsp;getStream()</pre>
<div class="block">The identifier for the stream.</div>
</li>
</ul>
<a name="isReliable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReliable</h4>
<pre>public&nbsp;boolean&nbsp;isReliable()</pre>
<div class="block">True if this data was delivered reliably, false otherwise.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamData.html" target="_top">Frames</a></li>
<li><a href="StreamData.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,334 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>StreamPresenceEvent (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StreamPresenceEvent (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StreamPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class StreamPresenceEvent" class="title">Class StreamPresenceEvent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.StreamPresenceEvent</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">StreamPresenceEvent</span>
extends java.lang.Object</pre>
<div class="block">A batch of joins and leaves on the low level stream.
Streams are built on to provide abstractions for matches, chat channels, etc. In most cases you'll never need to
interact with the low level stream itself.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getJoins--">getJoins</a></span>()</code>
<div class="block">Presences of users who left the stream.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getLeaves--">getLeaves</a></span>()</code>
<div class="block">Presences of users who joined the stream.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#getStream--">getStream</a></span>()</code>
<div class="block">The identifier for the stream.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getLeaves--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeaves</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getLeaves()</pre>
<div class="block">Presences of users who joined the stream.</div>
</li>
</ul>
<a name="getJoins--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJoins</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a>&gt;&nbsp;getJoins()</pre>
<div class="block">Presences of users who left the stream.</div>
</li>
</ul>
<a name="getStream--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStream</h4>
<pre>public&nbsp;<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a>&nbsp;getStream()</pre>
<div class="block">The identifier for the stream.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/StreamPresenceEvent.html" target="_top">Frames</a></li>
<li><a href="StreamPresenceEvent.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,480 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>UserPresence (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UserPresence (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/UserPresence.html" target="_top">Frames</a></li>
<li><a href="UserPresence.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.heroiclabs.nakama</div>
<h2 title="Class UserPresence" class="title">Class UserPresence</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.heroiclabs.nakama.UserPresence</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">UserPresence</span>
extends java.lang.Object</pre>
<div class="block">An object which represents a connected user in the server.
The server allows the same user to be connected with multiple sessions. To uniquely identify them a tuple of
{ user_id, session_id } is used which is exposed as this object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#UserPresence--">UserPresence</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#canEqual-java.lang.Object-">canEqual</a></span>(java.lang.Object&nbsp;other)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getSessionId--">getSessionId</a></span>()</code>
<div class="block">The session id of the user.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getStatus--">getStatus</a></span>()</code>
<div class="block">The status of the user with the presence on the server.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getUserId--">getUserId</a></span>()</code>
<div class="block">The id of the user.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#getUsername--">getUsername</a></span>()</code>
<div class="block">The username for the user.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#isPersistence--">isPersistence</a></span>()</code>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setPersistence-boolean-">setPersistence</a></span>(boolean&nbsp;persistence)</code>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setSessionId-java.lang.String-">setSessionId</a></span>(java.lang.String&nbsp;sessionId)</code>
<div class="block">The session id of the user.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setStatus-java.lang.String-">setStatus</a></span>(java.lang.String&nbsp;status)</code>
<div class="block">The status of the user with the presence on the server.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setUserId-java.lang.String-">setUserId</a></span>(java.lang.String&nbsp;userId)</code>
<div class="block">The id of the user.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#setUsername-java.lang.String-">setUsername</a></span>(java.lang.String&nbsp;username)</code>
<div class="block">The username for the user.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/heroiclabs/nakama/UserPresence.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UserPresence--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UserPresence</h4>
<pre>public&nbsp;UserPresence()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isPersistence--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistence</h4>
<pre>public&nbsp;boolean&nbsp;isPersistence()</pre>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</li>
</ul>
<a name="getSessionId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSessionId()</pre>
<div class="block">The session id of the user.</div>
</li>
</ul>
<a name="getStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatus</h4>
<pre>public&nbsp;java.lang.String&nbsp;getStatus()</pre>
<div class="block">The status of the user with the presence on the server.</div>
</li>
</ul>
<a name="getUsername--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsername</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUsername()</pre>
<div class="block">The username for the user.</div>
</li>
</ul>
<a name="getUserId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserId</h4>
<pre>public&nbsp;java.lang.String&nbsp;getUserId()</pre>
<div class="block">The id of the user.</div>
</li>
</ul>
<a name="setPersistence-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPersistence</h4>
<pre>public&nbsp;void&nbsp;setPersistence(boolean&nbsp;persistence)</pre>
<div class="block">True if this presence generates stored events like persistent chat messages or notifications.</div>
</li>
</ul>
<a name="setSessionId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionId</h4>
<pre>public&nbsp;void&nbsp;setSessionId(java.lang.String&nbsp;sessionId)</pre>
<div class="block">The session id of the user.</div>
</li>
</ul>
<a name="setStatus-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStatus</h4>
<pre>public&nbsp;void&nbsp;setStatus(java.lang.String&nbsp;status)</pre>
<div class="block">The status of the user with the presence on the server.</div>
</li>
</ul>
<a name="setUsername-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUsername</h4>
<pre>public&nbsp;void&nbsp;setUsername(java.lang.String&nbsp;username)</pre>
<div class="block">The username for the user.</div>
</li>
</ul>
<a name="setUserId-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserId</h4>
<pre>public&nbsp;void&nbsp;setUserId(java.lang.String&nbsp;userId)</pre>
<div class="block">The id of the user.</div>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="canEqual-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canEqual</h4>
<pre>protected&nbsp;boolean&nbsp;canEqual(java.lang.Object&nbsp;other)</pre>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/UserPresence.html" target="_top">Frames</a></li>
<li><a href="UserPresence.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,59 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../../com/heroiclabs/nakama/package-summary.html" target="classFrame">com.heroiclabs.nakama</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="Client.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Client</span></a></li>
<li><a href="Session.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">Session</span></a></li>
<li><a href="SocketClient.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketClient</span></a></li>
<li><a href="SocketListener.html" title="interface in com.heroiclabs.nakama" target="classFrame"><span class="interfaceName">SocketListener</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="AbstractSocketListener.html" title="class in com.heroiclabs.nakama" target="classFrame">AbstractSocketListener</a></li>
<li><a href="Channel.html" title="class in com.heroiclabs.nakama" target="classFrame">Channel</a></li>
<li><a href="ChannelMessageAck.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelMessageAck</a></li>
<li><a href="ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">ChannelPresenceEvent</a></li>
<li><a href="DefaultClient.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultClient</a></li>
<li><a href="DefaultSession.html" title="class in com.heroiclabs.nakama" target="classFrame">DefaultSession</a></li>
<li><a href="GsonDateDeserializer.html" title="class in com.heroiclabs.nakama" target="classFrame">GsonDateDeserializer</a></li>
<li><a href="Match.html" title="class in com.heroiclabs.nakama" target="classFrame">Match</a></li>
<li><a href="MatchData.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchData</a></li>
<li><a href="MatchmakerMatched.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerMatched</a></li>
<li><a href="MatchmakerTicket.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerTicket</a></li>
<li><a href="MatchmakerUser.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchmakerUser</a></li>
<li><a href="MatchPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">MatchPresenceEvent</a></li>
<li><a href="Status.html" title="class in com.heroiclabs.nakama" target="classFrame">Status</a></li>
<li><a href="StatusPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusPresenceEvent</a></li>
<li><a href="StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama" target="classFrame">StatusUnfollowMessage</a></li>
<li><a href="StorageObjectId.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectId</a></li>
<li><a href="StorageObjectWrite.html" title="class in com.heroiclabs.nakama" target="classFrame">StorageObjectWrite</a></li>
<li><a href="Stream.html" title="class in com.heroiclabs.nakama" target="classFrame">Stream</a></li>
<li><a href="StreamData.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamData</a></li>
<li><a href="StreamPresenceEvent.html" title="class in com.heroiclabs.nakama" target="classFrame">StreamPresenceEvent</a></li>
<li><a href="UserPresence.html" title="class in com.heroiclabs.nakama" target="classFrame">UserPresence</a></li>
<li><a href="WebSocketClient.html" title="class in com.heroiclabs.nakama" target="classFrame">WebSocketClient</a></li>
</ul>
<h2 title="Enums">Enums</h2>
<ul title="Enums">
<li><a href="ChannelType.html" title="enum in com.heroiclabs.nakama" target="classFrame">ChannelType</a></li>
<li><a href="Error.ErrorCode.html" title="enum in com.heroiclabs.nakama" target="classFrame">Error.ErrorCode</a></li>
<li><a href="PermissionRead.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionRead</a></li>
<li><a href="PermissionWrite.html" title="enum in com.heroiclabs.nakama" target="classFrame">PermissionWrite</a></li>
</ul>
<h2 title="Exceptions">Exceptions</h2>
<ul title="Exceptions">
<li><a href="Error.html" title="class in com.heroiclabs.nakama" target="classFrame">Error</a></li>
</ul>
</div>
</body>
</html>
@@ -0,0 +1,358 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.heroiclabs.nakama (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;com.heroiclabs.nakama</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a></td>
<td class="colLast">
<div class="block">A client to interact with Nakama server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a></td>
<td class="colLast">
<div class="block">A session used with requests sent to Nakama server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a></td>
<td class="colLast">
<div class="block">A socket connection to the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a></td>
<td class="colLast">
<div class="block">A listener for receiving <code>Client</code> events.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama">AbstractSocketListener</a></td>
<td class="colLast">
<div class="block">A listener for receiving <code>Client</code> events.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama">Channel</a></td>
<td class="colLast">
<div class="block">A chat channel on the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama">ChannelMessageAck</a></td>
<td class="colLast">
<div class="block">An acknowledgement from the server when a chat message is delivered to a channel.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama">ChannelPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of join and leave presences on a chat channel.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama">DefaultClient</a></td>
<td class="colLast">
<div class="block">Default implementation of Client interface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama">DefaultSession</a></td>
<td class="colLast">
<div class="block">Default implementation of Session interface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama">GsonDateDeserializer</a></td>
<td class="colLast">
<div class="block">A custom Date serializer to indicate to GSON that it is receiving UTC timestamps.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama">Match</a></td>
<td class="colLast">
<div class="block">A multiplayer match.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama">MatchData</a></td>
<td class="colLast">
<div class="block">Some game state update in a match.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama">MatchmakerMatched</a></td>
<td class="colLast">
<div class="block">The result of a successful matchmaker operation sent to the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama">MatchmakerTicket</a></td>
<td class="colLast">
<div class="block">The matchmaker ticket received from the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama">MatchmakerUser</a></td>
<td class="colLast">
<div class="block">The user with the parameters they sent to the server when asking for opponents.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama">MatchPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of join and leave presences for a match.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama">Status</a></td>
<td class="colLast">
<div class="block">Receive status updates for users.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama">StatusPresenceEvent</a></td>
<td class="colLast">
<div class="block">A status update event about other users who've come online or gone offline.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama">StatusUnfollowMessage</a></td>
<td class="colLast">
<div class="block">Unfollow one or more other users for status updates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama">StorageObjectId</a></td>
<td class="colLast">
<div class="block">An identifier for a storage object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama">StorageObjectWrite</a></td>
<td class="colLast">
<div class="block">An identifier and values for a storage object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama">Stream</a></td>
<td class="colLast">
<div class="block">A realtime socket stream on the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama">StreamData</a></td>
<td class="colLast">
<div class="block">A state change received from a stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama">StreamPresenceEvent</a></td>
<td class="colLast">
<div class="block">A batch of joins and leaves on the low level stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama">UserPresence</a></td>
<td class="colLast">
<div class="block">An object which represents a connected user in the server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></td>
<td class="colLast">
<div class="block">WebSocket implementation of Socket interface.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama">ChannelType</a></td>
<td class="colLast">
<div class="block">The available channel types on the server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama">Error.ErrorCode</a></td>
<td class="colLast">
<div class="block">The error code for the problem.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama">PermissionRead</a></td>
<td class="colLast">
<div class="block">Storage read permissions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama">PermissionWrite</a></td>
<td class="colLast">
<div class="block">Storage write permissions.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">Error</a></td>
<td class="colLast">
<div class="block">An error caused from an operation with the server.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
@@ -0,0 +1,181 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>com.heroiclabs.nakama Class Hierarchy (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.heroiclabs.nakama Class Hierarchy (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package com.heroiclabs.nakama</h1>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">AbstractSocketListener</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Channel</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelMessageAck</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultClient</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultSession</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">GsonDateDeserializer</span></a> (implements com.google.gson.JsonDeserializer&lt;T&gt;)</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Match</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerMatched</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerTicket</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerUser</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Status</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusUnfollowMessage</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectId</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Stream</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamPresenceEvent</span></a></li>
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
<ul>
<li type="circle">java.lang.Exception
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Error</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">UserPresence</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">WebSocketClient</span></a> (implements com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a>)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Client</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Session</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketClient</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketListener</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionRead</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Error.ErrorCode</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">ChannelType</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="../../../com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionWrite</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/heroiclabs/nakama/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+155
View File
@@ -0,0 +1,155 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#com.heroiclabs">com.heroiclabs.*</a></li>
</ul>
</div>
<div class="constantValuesContainer"><a name="com.heroiclabs">
<!-- -->
</a>
<h2 title="com.heroiclabs">com.heroiclabs.*</h2>
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama">WebSocketClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="com.heroiclabs.nakama.WebSocketClient.DEFAULT_PING_MS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="com/heroiclabs/nakama/WebSocketClient.html#DEFAULT_PING_MS">DEFAULT_PING_MS</a></code></td>
<td class="colLast"><code>5000</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.heroiclabs.nakama.WebSocketClient.DEFAULT_TIMEOUT_MS">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="com/heroiclabs/nakama/WebSocketClient.html#DEFAULT_TIMEOUT_MS">DEFAULT_TIMEOUT_MS</a></code></td>
<td class="colLast"><code>5000</code></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+119
View File
@@ -0,0 +1,119 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+216
View File
@@ -0,0 +1,216 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>API Help (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">How This API Document Is Organized</h1>
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<h2>Package</h2>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
<ul>
<li>Interfaces (italic)</li>
<li>Classes</li>
<li>Enums</li>
<li>Exceptions</li>
<li>Errors</li>
<li>Annotation Types</li>
</ul>
</li>
<li class="blockList">
<h2>Class/Interface</h2>
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
<ul>
<li>Class inheritance diagram</li>
<li>Direct Subclasses</li>
<li>All Known Subinterfaces</li>
<li>All Known Implementing Classes</li>
<li>Class/interface declaration</li>
<li>Class/interface description</li>
</ul>
<ul>
<li>Nested Class Summary</li>
<li>Field Summary</li>
<li>Constructor Summary</li>
<li>Method Summary</li>
</ul>
<ul>
<li>Field Detail</li>
<li>Constructor Detail</li>
<li>Method Detail</li>
</ul>
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
</li>
<li class="blockList">
<h2>Annotation Type</h2>
<p>Each annotation type has its own separate page with the following sections:</p>
<ul>
<li>Annotation Type declaration</li>
<li>Annotation Type description</li>
<li>Required Element Summary</li>
<li>Optional Element Summary</li>
<li>Element Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Enum</h2>
<p>Each enum has its own separate page with the following sections:</p>
<ul>
<li>Enum declaration</li>
<li>Enum description</li>
<li>Enum Constant Summary</li>
<li>Enum Constant Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Tree (Class Hierarchy)</h2>
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
<ul>
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
</ul>
</li>
<li class="blockList">
<h2>Deprecated API</h2>
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
</li>
<li class="blockList">
<h2>Index</h2>
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
<p>These links take you to the next or previous class, interface, package, or related page.</p>
</li>
<li class="blockList">
<h2>Frames/No Frames</h2>
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
</li>
<li class="blockList">
<h2>All Classes</h2>
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
</li>
<li class="blockList">
<h2>Serialized Form</h2>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
</li>
<li class="blockList">
<h2>Constant Field Values</h2>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</li>
</ul>
<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+2402
View File
File diff suppressed because it is too large. Load diff
+72
View File
@@ -0,0 +1,72 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>nakama-java 2.1.1 API</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
tmpTargetPage = tmpTargetPage.substring(1);
if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
tmpTargetPage = "undefined";
targetPage = tmpTargetPage;
function validURL(url) {
try {
url = decodeURIComponent(url);
}
catch (error) {
return false;
}
var pos = url.indexOf(".html");
if (pos == -1 || pos != url.length - 5)
return false;
var allowNumber = false;
var allowSep = false;
var seenDot = false;
for (var i = 0; i < url.length - 5; i++) {
var ch = url.charAt(i);
if ('a' <= ch && ch <= 'z' ||
'A' <= ch && ch <= 'Z' ||
ch == '$' ||
ch == '_' ||
ch.charCodeAt(0) > 127) {
allowNumber = true;
allowSep = true;
} else if ('0' <= ch && ch <= '9'
|| ch == '-') {
if (!allowNumber)
return false;
} else if (ch == '/' || ch == '.') {
if (!allowSep)
return false;
allowNumber = false;
allowSep = false;
if (ch == '.')
seenDot = true;
if (ch == '/' && seenDot)
return false;
} else {
return false;
}
}
return true;
}
function loadFrames() {
if (targetPage != "" && targetPage != "undefined")
top.classFrame.location = top.targetPage;
}
</script>
</head>
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
<frame src="com/heroiclabs/nakama/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<noframes>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<h2>Frame Alert</h2>
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/heroiclabs/nakama/package-summary.html">Non-frame version</a>.</p>
</noframes>
</frameset>
</html>
+185
View File
@@ -0,0 +1,185 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Class Hierarchy (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For All Packages</h1>
<span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="com/heroiclabs/nakama/package-tree.html">com.heroiclabs.nakama</a></li>
</ul>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/AbstractSocketListener.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">AbstractSocketListener</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama">SocketListener</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Channel.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Channel</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelMessageAck.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelMessageAck</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">ChannelPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/DefaultClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultClient</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama">Client</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/DefaultSession.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">DefaultSession</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama">Session</a>)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/GsonDateDeserializer.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">GsonDateDeserializer</span></a> (implements com.google.gson.JsonDeserializer&lt;T&gt;)</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Match.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Match</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerMatched.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerMatched</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerTicket.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerTicket</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchmakerUser.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchmakerUser</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/MatchPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">MatchPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Status.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Status</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StatusPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusPresenceEvent</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StatusUnfollowMessage.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StatusUnfollowMessage</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StorageObjectId.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectId</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StorageObjectWrite.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StorageObjectWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Stream.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Stream</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StreamData.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamData</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/StreamPresenceEvent.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">StreamPresenceEvent</span></a></li>
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
<ul>
<li type="circle">java.lang.Exception
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">Error</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/UserPresence.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">UserPresence</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/WebSocketClient.html" title="class in com.heroiclabs.nakama"><span class="typeNameLink">WebSocketClient</span></a> (implements com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama">SocketClient</a>)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Client.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Client</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Session.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">Session</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketClient.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketClient</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/SocketListener.html" title="interface in com.heroiclabs.nakama"><span class="typeNameLink">SocketListener</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">java.lang.Enum&lt;E&gt; (implements java.lang.Comparable&lt;T&gt;, java.io.Serializable)
<ul>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/PermissionRead.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionRead</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/PermissionWrite.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">PermissionWrite</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/ChannelType.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">ChannelType</span></a></li>
<li type="circle">com.heroiclabs.nakama.<a href="com/heroiclabs/nakama/Error.ErrorCode.html" title="enum in com.heroiclabs.nakama"><span class="typeNameLink">Error.ErrorCode</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+1
View File
@@ -0,0 +1 @@
com.heroiclabs.nakama
+30
View File
@@ -0,0 +1,30 @@
function show(type)
{
count = 0;
for (var key in methods) {
var row = document.getElementById(key);
if ((methods[key] & type) != 0) {
row.style.display = '';
row.className = (count++ % 2) ? rowColor : altColor;
}
else
row.style.display = 'none';
}
updateTabs(type);
}
function updateTabs(type)
{
for (var value in tabs) {
var sNode = document.getElementById(tabs[value][0]);
var spanNode = sNode.firstChild;
if (value == type) {
sNode.className = activeTableTab;
spanNode.innerHTML = tabs[value][1];
}
else {
sNode.className = tableTab;
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
}
}
}
+132
View File
@@ -0,0 +1,132 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Serialized Form (nakama-java 2.1.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form (nakama-java 2.1.1 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Serialized Form" class="title">Serialized Form</h1>
</div>
<div class="serializedFormContainer">
<ul class="blockList">
<li class="blockList">
<h2 title="Package">Package&nbsp;com.heroiclabs.nakama</h2>
<ul class="blockList">
<li class="blockList"><a name="com.heroiclabs.nakama.Error">
<!-- -->
</a>
<h3>Class <a href="com/heroiclabs/nakama/Error.html" title="class in com.heroiclabs.nakama">com.heroiclabs.nakama.Error</a> extends java.lang.Exception implements Serializable</h3>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/heroiclabs/nakama/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
+574
View File
@@ -0,0 +1,574 @@
/* Javadoc style sheet */
/*
Overall document style
*/
@import url('resources/fonts/dejavu.css');
body {
background-color:#ffffff;
color:#353833;
font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
font-size:14px;
margin:0;
}
a:link, a:visited {
text-decoration:none;
color:#4A6782;
}
a:hover, a:focus {
text-decoration:none;
color:#bb7a2a;
}
a:active {
text-decoration:none;
color:#4A6782;
}
a[name] {
color:#353833;
}
a[name]:hover {
text-decoration:none;
color:#353833;
}
pre {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
}
h1 {
font-size:20px;
}
h2 {
font-size:18px;
}
h3 {
font-size:16px;
font-style:italic;
}
h4 {
font-size:13px;
}
h5 {
font-size:12px;
}
h6 {
font-size:11px;
}
ul {
list-style-type:disc;
}
code, tt {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
margin-top:8px;
line-height:1.4em;
}
dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
padding-top:4px;
}
table tr td dt code {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
vertical-align:top;
padding-top:4px;
}
sup {
font-size:8px;
}
/*
Document title and Copyright styles
*/
.clear {
clear:both;
height:0px;
overflow:hidden;
}
.aboutLanguage {
float:right;
padding:0px 21px;
font-size:11px;
z-index:200;
margin-top:-9px;
}
.legalCopy {
margin-left:.5em;
}
.bar a, .bar a:link, .bar a:visited, .bar a:active {
color:#FFFFFF;
text-decoration:none;
}
.bar a:hover, .bar a:focus {
color:#bb7a2a;
}
.tab {
background-color:#0066FF;
color:#ffffff;
padding:8px;
width:5em;
font-weight:bold;
}
/*
Navigation bar styles
*/
.bar {
background-color:#4D7A97;
color:#FFFFFF;
padding:.8em .5em .4em .8em;
height:auto;/*height:1.8em;*/
font-size:11px;
margin:0;
}
.topNav {
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.bottomNav {
margin-top:10px;
background-color:#4D7A97;
color:#FFFFFF;
float:left;
padding:0;
width:100%;
clear:right;
height:2.8em;
padding-top:10px;
overflow:hidden;
font-size:12px;
}
.subNav {
background-color:#dee3e9;
float:left;
width:100%;
overflow:hidden;
font-size:12px;
}
.subNav div {
clear:left;
float:left;
padding:0 0 5px 6px;
text-transform:uppercase;
}
ul.navList, ul.subNavList {
float:left;
margin:0 25px 0 0;
padding:0;
}
ul.navList li{
list-style:none;
float:left;
padding: 5px 6px;
text-transform:uppercase;
}
ul.subNavList li{
list-style:none;
float:left;
}
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
color:#FFFFFF;
text-decoration:none;
text-transform:uppercase;
}
.topNav a:hover, .bottomNav a:hover {
text-decoration:none;
color:#bb7a2a;
text-transform:uppercase;
}
.navBarCell1Rev {
background-color:#F8981D;
color:#253441;
margin: auto 5px;
}
.skipNav {
position:absolute;
top:auto;
left:-9999px;
overflow:hidden;
}
/*
Page header and footer styles
*/
.header, .footer {
clear:both;
margin:0 20px;
padding:5px 0 0 0;
}
.indexHeader {
margin:10px;
position:relative;
}
.indexHeader span{
margin-right:15px;
}
.indexHeader h1 {
font-size:13px;
}
.title {
color:#2c4557;
margin:10px 0;
}
.subTitle {
margin:5px 0 0 0;
}
.header ul {
margin:0 0 15px 0;
padding:0;
}
.footer ul {
margin:20px 0 5px 0;
}
.header ul li, .footer ul li {
list-style:none;
font-size:13px;
}
/*
Heading styles
*/
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
margin:0 0 6px -8px;
padding:7px 5px;
}
ul.blockList ul.blockList li.blockList h3 {
padding:0;
margin:15px 0;
}
ul.blockList li.blockList h2 {
padding:0px 0 20px 0;
}
/*
Page layout container styles
*/
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
clear:both;
padding:10px 20px;
position:relative;
}
.indexContainer {
margin:10px;
position:relative;
font-size:12px;
}
.indexContainer h2 {
font-size:13px;
padding:0 0 3px 0;
}
.indexContainer ul {
margin:0;
padding:0;
}
.indexContainer ul li {
list-style:none;
padding-top:2px;
}
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
font-size:12px;
font-weight:bold;
margin:10px 0 0 0;
color:#4E4E4E;
}
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
margin:5px 0 10px 0px;
font-size:14px;
font-family:'DejaVu Sans Mono',monospace;
}
.serializedFormContainer dl.nameValue dt {
margin-left:1px;
font-size:1.1em;
display:inline;
font-weight:bold;
}
.serializedFormContainer dl.nameValue dd {
margin:0 0 0 1px;
font-size:1.1em;
display:inline;
}
/*
List styles
*/
ul.horizontal li {
display:inline;
font-size:0.9em;
}
ul.inheritance {
margin:0;
padding:0;
}
ul.inheritance li {
display:inline;
list-style:none;
}
ul.inheritance li ul.inheritance {
margin-left:15px;
padding-left:15px;
padding-top:1px;
}
ul.blockList, ul.blockListLast {
margin:10px 0 10px 0;
padding:0;
}
ul.blockList li.blockList, ul.blockListLast li.blockList {
list-style:none;
margin-bottom:15px;
line-height:1.4;
}
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
padding:0px 20px 5px 10px;
border:1px solid #ededed;
background-color:#f8f8f8;
}
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
padding:0 0 5px 8px;
background-color:#ffffff;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
margin-left:0;
padding-left:0;
padding-bottom:15px;
border:none;
}
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
list-style:none;
border-bottom:none;
padding-bottom:0;
}
table tr td dl, table tr td dl dt, table tr td dl dd {
margin-top:0;
margin-bottom:1px;
}
/*
Table styles
*/
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
width:100%;
border-left:1px solid #EEE;
border-right:1px solid #EEE;
border-bottom:1px solid #EEE;
}
.overviewSummary, .memberSummary {
padding:0px;
}
.overviewSummary caption, .memberSummary caption, .typeSummary caption,
.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
position:relative;
text-align:left;
background-repeat:no-repeat;
color:#253441;
font-weight:bold;
clear:none;
overflow:hidden;
padding:0px;
padding-top:10px;
padding-left:1px;
margin:0px;
white-space:pre;
}
.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
color:#FFFFFF;
}
.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
padding-bottom:7px;
display:inline-block;
float:left;
background-color:#F8981D;
border: none;
height:16px;
}
.memberSummary caption span.activeTableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#F8981D;
height:16px;
}
.memberSummary caption span.tableTab span {
white-space:nowrap;
padding-top:5px;
padding-left:12px;
padding-right:12px;
margin-right:3px;
display:inline-block;
float:left;
background-color:#4D7A97;
height:16px;
}
.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
padding-top:0px;
padding-left:0px;
padding-right:0px;
background-image:none;
float:none;
display:inline;
}
.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
display:none;
width:5px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .activeTableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
float:left;
background-color:#F8981D;
}
.memberSummary .tableTab .tabEnd {
display:none;
width:5px;
margin-right:3px;
position:relative;
background-color:#4D7A97;
float:left;
}
.overviewSummary td, .memberSummary td, .typeSummary td,
.useSummary td, .constantsSummary td, .deprecatedSummary td {
text-align:left;
padding:0px 0px 12px 10px;
}
th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
vertical-align:top;
padding-right:0px;
padding-top:8px;
padding-bottom:3px;
}
th.colFirst, th.colLast, th.colOne, .constantsSummary th {
background:#dee3e9;
text-align:left;
padding:8px 3px 3px 7px;
}
td.colFirst, th.colFirst {
white-space:nowrap;
font-size:13px;
}
td.colLast, th.colLast {
font-size:13px;
}
td.colOne, th.colOne {
font-size:13px;
}
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
.useSummary td.colFirst, .useSummary th.colFirst,
.overviewSummary td.colOne, .overviewSummary th.colOne,
.memberSummary td.colFirst, .memberSummary th.colFirst,
.memberSummary td.colOne, .memberSummary th.colOne,
.typeSummary td.colFirst{
width:25%;
vertical-align:top;
}
td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
font-weight:bold;
}
.tableSubHeadingColor {
background-color:#EEEEFF;
}
.altColor {
background-color:#FFFFFF;
}
.rowColor {
background-color:#EEEEEF;
}
/*
Content styles
*/
.description pre {
margin-top:0;
}
.deprecatedContent {
margin:0;
padding:10px 0;
}
.docSummary {
padding:0;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
font-style:normal;
}
div.block {
font-size:14px;
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
}
td.colLast div {
padding-top:0px;
}
td.colLast a {
padding-bottom:3px;
}
/*
Formatting effect styles
*/
.sourceLineNo {
color:green;
padding:0 30px 0 0;
}
h1.hidden {
visibility:hidden;
overflow:hidden;
font-size:10px;
}
.block {
display:block;
margin:3px 10px 2px 0px;
color:#474747;
}
.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
font-weight:bold;
}
.deprecationComment, .emphasizedPhrase, .interfaceName {
font-style:italic;
}
div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
div.block div.block span.interfaceName {
font-style:normal;
}
div.contentContainer ul.blockList li.blockList h2{
padding-bottom:0px;
}
+58
View File
@@ -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
+84
View File
@@ -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}"
}
+21
View File
@@ -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>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

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
+172
View File
@@ -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" "$@"
+84
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
include ':app'
rootProject.name = "nakama-java-test-android"
+1
View File
@@ -0,0 +1 @@
To run this example, run ./gradlew run.
+46
View File
@@ -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
+185
View File
@@ -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" "$@"
+89
View File
@@ -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
+9
View File
@@ -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());
}
}
}
+1
View File
@@ -0,0 +1 @@
To run this example, run `mvn compile` and then `mvn exec:java`.
+92
View File
@@ -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());
}
}
}
-3
View File
@@ -1,3 +0,0 @@
# Bintray credentials
bintrayUser=
bintrayKey=
Binary file not shown.
+7
View File
@@ -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
Vendored Executable
+248
View File
@@ -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" "$@"
Vendored
+92
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
# This file is generated by the 'io.freefair.lombok' Gradle plugin
config.stopBubbling = true
Loaded 100 of 229 files, more files were not shown because too many files have changed in this diff. Show more