org.openiec61850.scsm.mms.server
Class MMSConnectionHandler
java.lang.Object
org.openiec61850.scsm.mms.server.MMSConnectionHandler
- All Implemented Interfaces:
- SCSMConnectionHandler
public class MMSConnectionHandler
- extends java.lang.Object
- implements SCSMConnectionHandler
Implements the SCSMConnectionHandler. One MMSConnectionHandler is created for
every new Association Request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMSConnectionHandler
public MMSConnectionHandler(AccessPoint accessPoint)
setMaxPduSize
public void setMaxPduSize(int maxPduSize)
- Set the maximum MMS Pdu size in bytes. The default size is
DEFAULT_MAX_Pdu_SIZE.
- Parameters:
maxPduSize
- should be at least MINIMUM_Pdu_SIZE
connectionIndication
public void connectionIndication(AcseAssociation pConnection,
java.nio.ByteBuffer associationRequest)
throws ServiceError,
java.io.IOException
- Throws:
ServiceError
java.io.IOException
sendReport
public void sendReport(Report report)
throws java.io.IOException
- Specified by:
sendReport
in interface SCSMConnectionHandler
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close
in interface SCSMConnectionHandler