Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
12336445
Commit
12336445
authored
Nov 18, 2014
by
berge
Browse files
/!\ FIXING BRANCH/MERGE ISSUES /!\
Re-inserting lost change
parent
9caa1af3
Changes
1
Hide whitespace changes
Inline
Side-by-side
javasrc/adapter/org/etsi/its/adapter/Management.java
View file @
12336445
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment