IpId

com.loopfor.zookeeper.IpId
case class IpId(addr: String, prefix: Int) extends BaseId

An identity whose scheme is "ip" and id is equal to "[[addr]]/[[prefix]]".

Attributes

addr

an IPv4 or IPv6 address in dotted decimal form

prefix

the network prefix in bits, a range of [0,32] for IPv4 and [0,128] for IPv6

See also:
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class BaseId
trait Id
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def permit(permission: Int): ACL

Returns an ACL for this identity using the given permission.

Returns an ACL for this identity using the given permission.

Attributes

permission

the bitwise union of permission that apply to the ACL

Returns:

an ACL with the given permission

Inherited from:
Id

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

val id: String

Returns the id.

Returns the id.

Attributes

Returns:

a string representing the id

Inherited from:
BaseId

Returns the scheme.

Returns the scheme.

Attributes

Returns:

a string representing the scheme

Inherited from:
BaseId