|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.presents.net.Message
com.threerings.presents.net.UpstreamMessage
com.threerings.presents.net.AuthRequest
public class AuthRequest
Used to authenticate with the server.
| Field Summary | |
|---|---|
protected String[] |
_bootGroups
The set of bootstrap service groups this client is interested in. |
protected Credentials |
_creds
The credentials associated with this auth request. |
protected String |
_version
The version information associated with the client code. |
protected String |
_zone
The timezone in which this client is operating. |
| Fields inherited from class com.threerings.presents.net.UpstreamMessage |
|---|
_nextMessageId, messageId |
| Fields inherited from class com.threerings.presents.net.Message |
|---|
received |
| Constructor Summary | |
|---|---|
AuthRequest()
Zero argument constructor used when unserializing an instance. |
|
AuthRequest(Credentials creds,
String version,
String[] bootGroups)
Constructs a auth request with the supplied credentials and client version information. |
|
| Method Summary | |
|---|---|
String[] |
getBootGroups()
Returns the set of bootstrap service groups in which this client is interested. |
Credentials |
getCredentials()
Returns a reference to the credentials provided with this request. |
TimeZone |
getTimeZone()
Returns the timezone in which this client is operating. |
String |
getVersion()
Returns a reference to the version information provided with this request. |
void |
readObject(ObjectInputStream in)
Reads our custom streamable fields. |
String |
toString()
|
| Methods inherited from class com.threerings.presents.net.UpstreamMessage |
|---|
nextMessageId |
| Methods inherited from class com.threerings.presents.net.Message |
|---|
getTransport, noteActualTransport, setTransport |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Credentials _creds
protected String _version
protected String _zone
protected String[] _bootGroups
| Constructor Detail |
|---|
public AuthRequest()
public AuthRequest(Credentials creds,
String version,
String[] bootGroups)
| Method Detail |
|---|
public Credentials getCredentials()
public String getVersion()
public TimeZone getTimeZone()
public String[] getBootGroups()
public String toString()
toString in class UpstreamMessage
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||