IEC 61850 .NET API  1.2.0
IEC 61850 .NET API for libiec61850 protocol library
IEC61850.Server.IedServer Class Reference

This class acts as the entry point for the IEC 61850 client API. It represents a single (MMS) connection to a server. More...

Public Member Functions

delegate void ConnectionIndicationHandler (IedServer iedServer, ClientConnection clientConnection, bool connected, object parameter)
 
void SetConnectionIndicationHandler (ConnectionIndicationHandler handler, object parameter)
 
 IedServer (IedModel iedModel)
 
void SetLocalIpAddress (string localIpAddress)
 Sets the local ip address for listening More...
 
void Start (string localIpAddress, int tcpPort)
 Start MMS server More...
 
void Start (int tcpPort)
 Start MMS server More...
 
void Start ()
 Start MMS server More...
 
void Stop ()
 Stop the MMS server. More...
 
void Destroy ()
 Release all server resources. More...
 
bool IsRunning ()
 
void SetControlHandler (DataObject controlObject, ControlHandler handler, object parameter)
 
void SetCheckHandler (DataObject controlObject, CheckHandler handler, object parameter)
 
void SetWaitForExecutionHandler (DataObject controlObject, ControlWaitForExecutionHandler handler, object parameter)
 
void HandleWriteAccess (DataAttribute dataAttr, WriteAccessHandler handler, object parameter)
 
void SetWriteAccessPolicy (FunctionalConstraint fc, AccessPolicy policy)
 
void LockDataModel ()
 
void UnlockDataModel ()
 
void UpdateAttributeValue (DataAttribute dataAttr, MmsValue value)
 
void UpdateBooleanAttributeValue (DataAttribute dataAttr, bool value)
 
void UpdateFloatAttributeValue (DataAttribute dataAttr, float value)
 
void UpdateInt32AttributeValue (DataAttribute dataAttr, int value)
 
void UpdateInt64AttributeValue (DataAttribute dataAttr, Int64 value)
 
void UpdateVisibleStringAttributeValue (DataAttribute dataAttr, string value)
 
void UpdateUTCTimeAttributeValue (DataAttribute dataAttr, DateTime timestamp)
 
void UpdateTimestampAttributeValue (DataAttribute dataAttr, Timestamp timestamp)
 
void UpdateQuality (DataAttribute dataAttr, ushort value)
 
MmsValue GetAttributeValue (DataAttribute dataAttr)
 

Detailed Description

This class acts as the entry point for the IEC 61850 client API. It represents a single (MMS) connection to a server.

Member Function Documentation

void IEC61850.Server.IedServer.Destroy ( )

Release all server resources.

This function releases all MMS server resources.

void IEC61850.Server.IedServer.SetLocalIpAddress ( string  localIpAddress)

Sets the local ip address for listening

Parameters
localIpAddressLocal IP address.
void IEC61850.Server.IedServer.Start ( string  localIpAddress,
int  tcpPort 
)

Start MMS server

Parameters
localIpAddressLocal IP address.
tcpPortTCP port to use
void IEC61850.Server.IedServer.Start ( int  tcpPort)

Start MMS server

Parameters
tcpPortTCP port to use
void IEC61850.Server.IedServer.Start ( )

Start MMS server

void IEC61850.Server.IedServer.Stop ( )

Stop the MMS server.

This function will stop the server. This will close the TCP server socket and all client sockets.


The documentation for this class was generated from the following file: