Packages

o

org.mongodb.scala

ServerAddress

object ServerAddress

Represents the location of a MongoDB server - i.e. server name and port number

Since

1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerAddress
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(host: String, port: Int): com.mongodb.ServerAddress

    Creates a ServerAddress

    Creates a ServerAddress

    host

    hostname

    port

    mongod port

  2. def apply(inetSocketAddress: InetSocketAddress): com.mongodb.ServerAddress

    Creates a ServerAddress

    Creates a ServerAddress

    inetSocketAddress

    inet socket address containing hostname and port

  3. def apply(inetAddress: InetAddress, port: Int): com.mongodb.ServerAddress

    Creates a ServerAddress

    Creates a ServerAddress

    inetAddress

    host address

    port

    mongod port

  4. def apply(inetAddress: InetAddress): com.mongodb.ServerAddress

    Creates a ServerAddress with default port

    Creates a ServerAddress with default port

    inetAddress

    host address

  5. def apply(host: String): com.mongodb.ServerAddress

    Creates a ServerAddress with default port

    Creates a ServerAddress with default port

    host

    hostname

  6. def apply(): com.mongodb.ServerAddress

    Creates a ServerAddress with default host and port