Commit 12336445 authored by berge's avatar berge

/!\ FIXING BRANCH/MERGE ISSUES /!\

Re-inserting lost change
parent 9caa1af3
......@@ -23,6 +23,7 @@ import org.etsi.certificates.io.ICertificatesIO;
import org.etsi.common.ByteHelper;
import org.etsi.common.ITuple;
import org.etsi.common.Tuple;
import org.etsi.its.adapter.ports.FsapPort;
import org.etsi.its.adapter.ports.GnPort;
import org.etsi.ttcn.tci.CharstringValue;
......@@ -86,6 +87,11 @@ public class Management implements IManagementTA, IManagementLayers {
* Registered GN Port
*/
private GnPort gnPort = null;
/**
* Registered FSAP Port
*/
private FsapPort fsapPort = null; // FIXME Enhance this using Fsap.send() method
/**
* Set to true is secured mode is set
......@@ -427,5 +433,28 @@ public class Management implements IManagementTA, IManagementLayers {
// TODO Add support of encryption
}
}
/**
* Registers a FSAP port
* @param The FSAP port to register
*/
@Override
public void registerFsapPort(final FsapPort fsapPort) {
this.fsapPort = fsapPort;
}
@Override
public void startSamTransmission(final byte[] sam) {
if(fsapPort != null) {
fsapPort.startSamTransmission(sam);
}
}
@Override
public void stopSamTransmission() {
if(fsapPort != null) {
fsapPort.stopSamTransmission();
}
}
} // End of class Management
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment