Credential

com.loopfor.zookeeper.Credential$
See theCredential companion trait
object Credential

Constructs and deconstructs Credential values.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(id: Long, password: Array[Byte]): Credential

Constructs a new credential using the given session id and password.

Constructs a new credential using the given session id and password.

Attributes

id

the session id

password

the session password

Returns:

a credential with the given id and password

Used in pattern matching to deconstruct a credential.

Used in pattern matching to deconstruct a credential.

Attributes

cred

selector value

Returns:

a Some containing id and password if the selector value is not null, otherwise None