org.openiec61850.scsm.mms.client
Class MmsScsmClientSAP

java.lang.Object
  extended by org.openiec61850.scsm.mms.client.MmsScsmClientSAP
All Implemented Interfaces:
ClientScsmSAP

public class MmsScsmClientSAP
extends java.lang.Object
implements ClientScsmSAP


Field Summary
 org.openiec61850.jmms.iso.acse.ClientAcseSAP acseSAP
           
 int proposedDataStructureNestingLevel
           
 int proposedMaxServOutstandingCalled
           
 int proposedMaxServOutstandingCalling
           
 byte[] servicesSupportedCalling
           
 int servicesSupportedCallingNumBits
           
 
Constructor Summary
MmsScsmClientSAP()
           
 
Method Summary
 ClientACSI associate(java.lang.String serverAccessPointReference, java.lang.String authenticationParameter, int connectTimeout)
          For the MMS-Mapping the ServerAccessPointReference should be of the form "ip:port" or "domain:port" or simply "ip" or "domain".
 ClientACSI associate(java.lang.String serverAccessPointReference, java.lang.String authenticationParameter, int connectTimeout, int messageTimeout, int messageFragmentTimeout)
           
 void setMaxPduSize(int maxPduSize)
          Set the maximum MMS Pdu size in bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proposedMaxServOutstandingCalling

public int proposedMaxServOutstandingCalling

proposedMaxServOutstandingCalled

public int proposedMaxServOutstandingCalled

proposedDataStructureNestingLevel

public int proposedDataStructureNestingLevel

servicesSupportedCalling

public byte[] servicesSupportedCalling

servicesSupportedCallingNumBits

public int servicesSupportedCallingNumBits

acseSAP

public org.openiec61850.jmms.iso.acse.ClientAcseSAP acseSAP
Constructor Detail

MmsScsmClientSAP

public MmsScsmClientSAP()
Method Detail

setMaxPduSize

public void setMaxPduSize(int maxPduSize)
Set the maximum MMS Pdu size in bytes. The default size is 65000.

Parameters:
maxPduSize - should be at least MINIMUM_PDU_SIZE

associate

public ClientACSI associate(java.lang.String serverAccessPointReference,
                            java.lang.String authenticationParameter,
                            int connectTimeout)
                     throws ServiceError,
                            java.lang.IllegalArgumentException
For the MMS-Mapping the ServerAccessPointReference should be of the form "ip:port" or "domain:port" or simply "ip" or "domain". The default port is 102. The AuthenticationParamter has no effect for the MMS-Mapping because Version 1.0 of IEC61850-8-1 does not support authentication.

Specified by:
associate in interface ClientScsmSAP
Parameters:
serverAccessPointReference - the syntax of this parameter is mapping specific
authenticationParameter - the syntax of this parameter is mapping specific
connectTimeout - the time in milliseconds after which the TCP/IP connection attempt shall be aborted and a service error is thrown
Throws:
ServiceError
java.lang.IllegalArgumentException

associate

public ClientACSI associate(java.lang.String serverAccessPointReference,
                            java.lang.String authenticationParameter,
                            int connectTimeout,
                            int messageTimeout,
                            int messageFragmentTimeout)
                     throws ServiceError,
                            java.lang.IllegalArgumentException
Throws:
ServiceError
java.lang.IllegalArgumentException