Trait/Object

io.scalajs.npm.nzc

Client

Related Docs: object Client | package nzc

Permalink

trait Client extends Object with IEventEmitter

Node Zookeeper Client (node-zookeeper-client)

Annotations
@RawJSType() @native()
See also

https://github.com/alexguan/node-zookeeper-client

Linear Supertypes
IEventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Client
  2. IEventEmitter
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getSessionPassword(): Buffer

    Permalink

    Returns the session password of this client instance.

    Returns the session password of this client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    The value returned is an instance of Buffer.

    returns

    the session password

  2. abstract def getSessionTimeout(): Integer

    Permalink

    Returns the negotiated session timeout (in milliseconds) for this client instance.

    Returns the negotiated session timeout (in milliseconds) for this client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    returns

    the negotiated session timeout (in milliseconds)

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAuthInfo(scheme: String, auth: Buffer): Unit

    Permalink

    Add the specified scheme:auth information to this client.

    Add the specified scheme:auth information to this client.

    scheme

    The authentication scheme.

    auth

    The authentication data buffer.

    Examples:
    1. zookeeper.addAuthInfo('ip', new Buffer('127.0.0.1'));

    2. ,
    3. void addAuthInfo(scheme, auth)

  5. def addListener(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

    Permalink

    Close this client.

    Close this client. Once the client is closed, its session becomes invalid. All the ephemeral nodes in the ZooKeeper server associated with the session will be removed. The watchers left on those nodes (and on their parents) will be triggered.

    Example:
    1. void close()

  9. def connect(): Unit

    Permalink

    Initiate the connection to the provided server list (ensemble).

    Initiate the connection to the provided server list (ensemble). The client will pick an arbitrary server from the list and attempt to connect to it. If the establishment of the connection fails, another server will be tried (picked randomly) until a connection is established or close method is invoked.

    Example:
    1. void connect()

  10. def create(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void create(path, [data], [acls], [mode], callback)

  11. def create(path: String, data: Any, callback: Function): Unit

    Permalink

    Example:
    1. void create(path, [data], [acls], [mode], callback)

  12. def create(path: String, data: Any, acls: String, callback: Function): Unit

    Permalink

    Example:
    1. void create(path, [data], [acls], [mode], callback)

  13. def create(path: String, data: Any, acls: String, mode: String, callback: Function): Unit

    Permalink

    Example:
    1. void create(path, [data], [acls], [mode], callback)

  14. var domain: String

    Permalink
    Definition Classes
    IEventEmitter
  15. def emit(name: String, args: Any*): Any

    Permalink
    Definition Classes
    IEventEmitter
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def exists(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void exists(path, [watcher], callback)

  19. def exists(path: String, watcher: Watcher, callback: Function): Unit

    Permalink

    Example:
    1. void exists(path, [watcher], callback)

  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def getACL(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void getACL(path, callback)

  22. def getChildren(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void getChildren(path, [watcher], callback)

  23. def getChildren(path: String, watcher: Watcher, callback: Function): Unit

    Permalink

    Example:
    1. void getChildren(path, [watcher], callback)

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getData(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void getData(path, [watcher], callback)

  26. def getData(path: String, watcher: Watcher, callback: Function): Unit

    Permalink

    Example:
    1. void getData(path, [watcher], callback)

  27. def getMaxListeners(): Int

    Permalink
    Definition Classes
    IEventEmitter
  28. def getSessionId(): Buffer

    Permalink

    Returns the session id of this client instance.

    Returns the session id of this client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    The id returned is a long integer stored into an 8-byte Buffer since Javascript does not support long integer natively.

    returns

    a long integer stored as an 8-byte Buffer

  29. def getState(): State

    Permalink

    Return the current client state.

    Return the current client state.

    returns

    the current client state.

  30. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  34. def listenerCount(eventName: String): Int

    Permalink
    Definition Classes
    IEventEmitter
  35. def listeners(eventName: String): Array[Function]

    Permalink
    Definition Classes
    IEventEmitter
  36. def mkdirp(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void mkdirp(path, [data], [acls], [mode], callback)

  37. def mkdirp(path: String, data: Any, callback: Function): Unit

    Permalink

    Example:
    1. void mkdirp(path, [data], [acls], [mode], callback)

  38. def mkdirp(path: String, data: Any, acls: String, callback: Function): Unit

    Permalink

    Example:
    1. void mkdirp(path, [data], [acls], [mode], callback)

  39. def mkdirp(path: String, data: Any, acls: String, mode: String, callback: Function): Unit

    Permalink

    Example:
    1. void mkdirp(path, [data], [acls], [mode], callback)

  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. def on(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  44. def once(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  45. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  46. def remove(path: String, callback: Function): Unit

    Permalink

    Example:
    1. void remove(path, [version], callback)

  47. def remove(path: String, version: String, callback: Function): Unit

    Permalink

    Example:
    1. void remove(path, [version], callback)

  48. def removeAllListeners(): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  49. def removeAllListeners(eventName: String): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  50. def removeListener(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  51. def setACL(path: String, acls: String, callback: Function): Unit

    Permalink

    Example:
    1. void setACL(path, acls, [version], callback)

  52. def setACL(path: String, acls: String, version: String, callback: Function): Unit

    Permalink

    Example:
    1. void setACL(path, acls, [version], callback)

  53. def setData(path: String, data: Any, callback: Function): Unit

    Permalink

    Example:
    1. void setData(path, data, [version], callback)

  54. def setData(path: String, data: Any, version: String, callback: Function): Unit

    Permalink

    Example:
    1. void setData(path, data, [version], callback)

  55. def setMaxListeners(n: Int): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  58. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  59. def transaction(): Transaction

    Permalink

    Example:
    1. transaction(): Transaction

  60. var usingDomains: Boolean

    Permalink
    Definition Classes
    IEventEmitter
  61. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  62. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped