org.openiec61850.scsm.mms.client
Class MmsScsmClientAssociation

java.lang.Object
  extended by org.openiec61850.scsm.mms.client.MmsScsmClientAssociation
All Implemented Interfaces:
ClientACSI

public class MmsScsmClientAssociation
extends java.lang.Object
implements ClientACSI


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openiec61850.client.ClientACSI
ClientACSI.ServerDirectoryType
 
Constructor Summary
protected MmsScsmClientAssociation(java.lang.String serverAccessPointReference, java.lang.String authenticationParameter, org.openiec61850.jmms.iso.acse.ClientAcseSAP acseSAP, int proposedMaxPduSize, int proposedMaxServOutstandingCalling, int proposedMaxServOutstandingCalled, int proposedDataStructureNestingLevel, byte[] servicesSupportedCalling, int servicesSupportedCallingNumBits)
           
 
Method Summary
 org.openiec61850.jmms.mms.asn1.AlternateAccess checkArray(java.lang.String objRef)
           
static void checkInvokeID(org.openiec61850.jmms.mms.asn1.ConfirmedResponsePdu confirmedResponsePdu, int invokeID)
           
 void close()
           
 void createDataSet(DataSet dataSet)
          The client should create the data set first and add it to either the nonpersistent list or to the model.
 int[] deleteDataSet(DataSet dataSet)
           
 void disconnect()
           
 void getDataSetValues(DataSet dataSet)
           
 ModelNode getDataValues(ModelNode modelNode)
           
 void getRCBValues(ReportControlBlock rcb)
           
 Report getReport()
           
 Report getReport(int timeout)
           
protected  LogicalNode retrieveDataDefinitions(ObjectReference lnRef)
           
 void retrieveDataSets(java.util.List<LogicalDevice> lds)
           
 java.util.List<java.lang.String> retrieveLogicalNodes(java.lang.String ld)
           
 Server retrieveModel()
          The Model contains not SubDataObjects because they cannot be distinguished from Constructed Data Attributes in MMS.
 java.util.List<java.lang.String> setDataSetValues(DataSet dataSet)
          The client modifies the values of the data set first then passes the data set to this function for changes on the server side
 void setDataValues(ModelNode container)
           
 void setRCBValues(ReportControlBlock rcb)
           
static void testForErrorResponse(org.openiec61850.jmms.mms.asn1.MmsPdu mmsResponsePdu)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MmsScsmClientAssociation

protected MmsScsmClientAssociation(java.lang.String serverAccessPointReference,
                                   java.lang.String authenticationParameter,
                                   org.openiec61850.jmms.iso.acse.ClientAcseSAP acseSAP,
                                   int proposedMaxPduSize,
                                   int proposedMaxServOutstandingCalling,
                                   int proposedMaxServOutstandingCalled,
                                   int proposedDataStructureNestingLevel,
                                   byte[] servicesSupportedCalling,
                                   int servicesSupportedCallingNumBits)
                            throws java.lang.IllegalArgumentException,
                                   ServiceError
Throws:
java.lang.IllegalArgumentException
ServiceError
Method Detail

retrieveModel

public Server retrieveModel()
                     throws ServiceError
The Model contains not SubDataObjects because they cannot be distinguished from Constructed Data Attributes in MMS. Also at the moment the model only contains FCDataObjects

Specified by:
retrieveModel in interface ClientACSI
Throws:
ServiceError

getDataValues

public ModelNode getDataValues(ModelNode modelNode)
                        throws ServiceError
Specified by:
getDataValues in interface ClientACSI
Throws:
ServiceError

retrieveLogicalNodes

public java.util.List<java.lang.String> retrieveLogicalNodes(java.lang.String ld)
                                                      throws ServiceError
Throws:
ServiceError

testForErrorResponse

public static void testForErrorResponse(org.openiec61850.jmms.mms.asn1.MmsPdu mmsResponsePdu)
                                 throws ServiceError
Throws:
ServiceError

checkInvokeID

public static void checkInvokeID(org.openiec61850.jmms.mms.asn1.ConfirmedResponsePdu confirmedResponsePdu,
                                 int invokeID)
                          throws ServiceError
Throws:
ServiceError

retrieveDataDefinitions

protected LogicalNode retrieveDataDefinitions(ObjectReference lnRef)
                                       throws ServiceError
Throws:
ServiceError

setDataValues

public void setDataValues(ModelNode container)
                   throws ServiceError
Specified by:
setDataValues in interface ClientACSI
Throws:
ServiceError

retrieveDataSets

public void retrieveDataSets(java.util.List<LogicalDevice> lds)
                      throws ServiceError
Specified by:
retrieveDataSets in interface ClientACSI
Throws:
ServiceError

createDataSet

public void createDataSet(DataSet dataSet)
                   throws ServiceError
The client should create the data set first and add it to either the nonpersistent list or to the model. Then it should call this method for creation on the server side

Specified by:
createDataSet in interface ClientACSI
Throws:
ServiceError

deleteDataSet

public int[] deleteDataSet(DataSet dataSet)
                    throws ServiceError
Specified by:
deleteDataSet in interface ClientACSI
Throws:
ServiceError

getDataSetValues

public void getDataSetValues(DataSet dataSet)
                      throws ServiceError
Specified by:
getDataSetValues in interface ClientACSI
Throws:
ServiceError

setDataSetValues

public java.util.List<java.lang.String> setDataSetValues(DataSet dataSet)
                                                  throws ServiceError
The client modifies the values of the data set first then passes the data set to this function for changes on the server side

Specified by:
setDataSetValues in interface ClientACSI
Throws:
ServiceError

close

public void close()
Specified by:
close in interface ClientACSI

disconnect

public void disconnect()
Specified by:
disconnect in interface ClientACSI

checkArray

public org.openiec61850.jmms.mms.asn1.AlternateAccess checkArray(java.lang.String objRef)

getRCBValues

public void getRCBValues(ReportControlBlock rcb)
                  throws ServiceError
Specified by:
getRCBValues in interface ClientACSI
Throws:
ServiceError

setRCBValues

public void setRCBValues(ReportControlBlock rcb)
                  throws ServiceError
Specified by:
setRCBValues in interface ClientACSI
Throws:
ServiceError

getReport

public Report getReport()
                 throws ServiceError
Specified by:
getReport in interface ClientACSI
Throws:
ServiceError

getReport

public Report getReport(int timeout)
                 throws ServiceError
Specified by:
getReport in interface ClientACSI
Throws:
ServiceError