MemberDef object represents how Activespaces makes connection to a metaspace.

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.2.0.015)

Syntax

C#
public abstract class MemberDef
Visual Basic
Public MustInherit Class MemberDef
Visual C++
public ref class MemberDef abstract
F#
[<AbstractClassAttribute>]
type MemberDef =  class end

Remarks

MemberDef includes discovery and listen attributes. Discovery attributes is used during initial setup to discovery other Activespaces instances. Listen attribute is used for internal Activespaces communication.

Discovery attribute
Specifies how this instance will discover other instances in cluster. Discovery can be unicast (TCP) or multicast (PGM or RV). There are three different discovery protocols:

  • tcp://ip:port(;ip:port)*
    List of semicolon separated IP/port list. These are well know IP/port list to discover existing members. Ex. tcp://ip1:port1;ip2:port2;... If no port is specified, a default port of 50000 will be used If user has specified some other port via TCP URL list it overrides default discovery port. For example; If user has specified tcp://self_ip:8000;IP2:8001/..; ActiveSpaces will open discovery port 8000 to listen for discovery requests of new members to find manager
  • tibpgm:// (default)
    tibpgm://port/interface;multicast-group/daemon parameters/
    Refer to documentation for PGM transport
  • tibrv://
    tibrv://service/network/daemon/
    Refer to documentation for RV transport
  • Remote Client: tcp://ip:port?remote=true
    ip is the IP address of a fully connected peer that is listening for remote client connections on the specified port (see remote_listen URL).
Listen attribute:
Defaults to tcp://
By default ActiveSpaces instance listens on the default host interface (as pointed to by 'hostname') and uses the first free port is can find starting from port 50000 and automatically increasing the port number until if finds a free port for ActiveSpaces internal data communication. If your machine has blocked this range of ports please specify an available port here. Ex: tcp://self_ip:6000. If user did not provide any argument for listen URL, connection definition can be used to retrieve this information after connecting metaspace

Inheritance Hierarchy

System..::..Object
  Com.Tibco.As.Space..::..MemberDef

See Also