com.threerings.presents.peer.net
Class PeerCreds

java.lang.Object
  extended by com.threerings.presents.net.Credentials
      extended by com.threerings.presents.net.ServiceCreds
          extended by com.threerings.presents.peer.net.PeerCreds
All Implemented Interfaces:
Streamable

public class PeerCreds
extends ServiceCreds

Used by peer servers in a cluster installation to authenticate with one another.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.net.Credentials
Credentials.HasLanguage, Credentials.HasMachineIdent
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 
Fields inherited from class com.threerings.presents.net.ServiceCreds
_authToken, clientId
 
Constructor Summary
PeerCreds()
          Used when unserializing an instance from the network.
PeerCreds(String nodeName, String sharedSecret)
           
 
Method Summary
 
Methods inherited from class com.threerings.presents.net.ServiceCreds
areValid, createAuthToken, toString
 
Methods inherited from class com.threerings.presents.net.Credentials
getDatagramSecret
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerCreds

public PeerCreds(String nodeName,
                 String sharedSecret)

PeerCreds

public PeerCreds()
Used when unserializing an instance from the network.