|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pusher.client.channel.User
public class User
Represents a user that is subscribed to a
PresenceChannel.
| Constructor Summary | |
|---|---|
User(String id,
String jsonData)
Create a new user. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getId()
A unique identifier for the user within a Pusher application. |
String |
getInfo()
Custom additional information about a user. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public User(String id,
String jsonData)
id - jsonData - | Method Detail |
|---|
public String getId()
public String getInfo()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||