Click or drag to resize
MemberDef Class
MemberDef object represents how Activespaces makes connection to a metaspace.
Inheritance Hierarchy
SystemObject
  Com.Tibco.As.SpaceMemberDef

Namespace: Com.Tibco.As.Space
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.1.5.12)
Syntax
public abstract class MemberDef

The MemberDef type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Create a MemberDef Default connection definition
Public methodStatic memberCreate(String, String, String, String)
Create a MemberDef with the specified parameters
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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
Properties
  NameDescription
Public propertyAuthenticationCallback
The callback that was supplied while setting up the security for the member
Public propertyClientTimeout
Gets or sets the client timeout
Public propertyClusterSuspendThreshold
Gets or sets the cluster suspend threshold
Public propertyConnectTimeout
Gets or sets the connect timeout
Public propertyContext
Gets or sets the context.
Public propertyDataStore
Get and set the data store
Public propertyDiscovery
Get and set the discovery attribute
Public propertyIsSecure
Gets a value indicating whether this instance is secure.
Public propertyListen
Get and set the listen attribute
Public propertyMemberName
Get and set the Member name attribute
Public propertyMemberTimeout
Gets or sets the member timeout.
Public propertyRemoteDiscovery
Get and set the remote discovery attribute
Public propertyRemoteListen
Get and set the remote listen attribute
Public propertySecurityPolicyFile
The security domain policy file location
Public propertySecurityTokenFile
The security domain token file location
Public propertyTimeout Obsolete.
Gets or sets the timeout.
Public propertyTransportThreadCount
Gets or sets the transport thread count.
Public propertyWorkerThreadCount
Gets or sets the worker thread count.
Top
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

See Also