Class EC2MultiRegionTranslator
An IAddress
Its distinctive feature is that it translates addresses according to the location of the server host:
- Addresses in different EC2 regions (than the client) are unchanged
- Addresses in the same EC2 region are translated to private IPs
Inheritance
object
EC2MultiRegionTranslator
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class EC2MultiRegionTranslator : IAddressTranslator
Methods
Translate(IPEndPoint)
Addresses in the same EC2 region are translated to private IPs and addresses in different EC2 regions (than the client) are unchanged.
Declaration
public IPEndPoint Translate(IPEndPoint endpoint)
Parameters
Type | Name | Description |
---|---|---|
IPEnd |
endpoint |
Returns
Type | Description |
---|---|
IPEnd |