DOFAddress ClassOpenDOF Object Access Library
This class represents an address in the DOF network.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFAddress
    org.opendof.core.oalDOFGroupAddress

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
[SerializableAttribute]
public abstract class DOFAddress : DOFImmutable

The DOFAddress type exposes the following members.

Constructors

  NameDescription
Protected methodDOFAddress
Initializes a new instance of the DOFAddress class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetAddress
Get the opaque transport-specific address information.
Public methodgetAddressType
Get the transport type for the specific address information.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetTransport
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class represents an address in the DOF network. All network addresses are represented by this class, independent of the specific transport that defines the address.

In many cases the specific address is not important, rather the DOFConnection is used to communicate with a specific node identified by a DOFAddress. The Config contains information about the DOFAddress that the connection refers to.

DOFAddress is opaque. In order to gain access to the encapsulated information, you must use the transport that defines the address. This is also required to convert a DOFAddress from one transport to another.

To create a DOFAddress, call the specific implementation. For example, in order to create an Inet DOFAddress, call org.opendof.core.transport.inet.InetTransport.createAddress.

NOTE: Classes that extend DOFAddress must implement object.GetHashCode() and object.Equals(object) .

See Also

Reference