Version: 13.0

    Show / Hide Table of Contents

    Class Socket

    Inheritance
    System.Object
    System.MarshalByRefObject
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent
    APIBase
    Socket
    CylindricalSocket
    ElectricMachineStatorSocket
    GearTeethSocket
    Implements
    System.IEquatable<APIBase>
    Inherited Members
    APIBase.DisconnectFromMASTA()
    APIBase.GetProperty<T>(String)
    APIBase.SetProperty(String, Object)
    APIBase.cacheRpds
    APIBase.clearCachedRpds()
    APIBase.getNamedObjectList<TElementType>(String)
    APIBase.getExpandableProperty<TReturnType>(String)
    APIBase.callPartialMethod(String, (T1, T2)<Type, Object>[])
    APIBase.callPartialMethod<T>(String, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T>(String, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, (T1, T2)<Type, Object>, T)
    APIBase.callPartialMethod<T1, T2>(String, (T1, T2)<Type, Object>, T1, T2)
    APIBase.getPartialProperty(String)
    APIBase.setPartialProperty(String, Object)
    APIBase.IsValid(String)
    APIBase.IsReadOnly(String)
    APIBase.isInvalid
    APIBase.DocumentationUrl()
    APIBase.ToString()
    APIBase.RunPython<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String)
    APIBase.RunPython<T>(String, String)
    APIBase.CreateObjRef(Type)
    APIBase.RunPython(String, String, Object)
    APIBase.createWrappedRange(Double, Double)
    APIBase.createWrappedVector2D(Double, Double)
    APIBase.createWrappedPosition3D(Double, Double, Double)
    APIBase.Equals(APIBase)
    APIBase.GetHashCode()
    APIBase.Equals(Object)
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent.InitializeLifetimeService()
    Namespace: SMT.MastaAPI.SystemModel.ConnectionsAndSockets
    Assembly: SMT.MastaAPI.13.0.dll
    Syntax
    public abstract class Socket : APIBase, IEquatable<APIBase>

    Fields

    _parent

    Declaration
    protected readonly APIBase _parent
    Field Value
    Type Description
    APIBase

    Properties

    ConnectedComponents

    Declaration
    public ReadOnlyCollection<Component> ConnectedComponents { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Component>

    Connections

    Declaration
    public ReadOnlyCollection<Connection> Connections { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Connection>

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Owner

    Declaration
    public Component Owner { get; }
    Property Value
    Type Description
    Component

    Methods

    ConnectionTo(Socket)

    Declaration
    public Connection ConnectionTo(Socket socket)
    Parameters
    Type Name Description
    Socket socket
    Returns
    Type Description
    Connection

    ConnectTo(Socket)

    Declaration
    public ComponentsConnectedResult ConnectTo(Socket socket)
    Parameters
    Type Name Description
    Socket socket
    Returns
    Type Description
    ComponentsConnectedResult

    ConnectTo(Component)

    Declaration
    public ComponentsConnectedResult ConnectTo(Component component)
    Parameters
    Type Name Description
    Component component
    Returns
    Type Description
    ComponentsConnectedResult

    GetPossibleSocketsToConnectTo(Component)

    Declaration
    public ReadOnlyCollection<Socket> GetPossibleSocketsToConnectTo(Component componentToConnectTo)
    Parameters
    Type Name Description
    Component componentToConnectTo
    Returns
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Socket>

    Implements

    System.IEquatable<T>

    Extension Methods

    UtilityMethods.IsReadOnly<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsValid<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsMethodValid<T>(T, Expression<Func<T, Action>>)
    UtilityMethods.IsMethodReadOnly<T>(T, Expression<Func<T, Action>>)
    Back to top