Package org.yamcs.sle.udpslebridge
Class UdpFrameSource
java.lang.Object
org.yamcs.sle.udpslebridge.UdpFrameSource
- All Implemented Interfaces:
Runnable,FrameSource
Receives frames via UDP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()voidshutdown()Undo what init has donestart(RacfServiceProvider rsp, CcsdsTime start, CcsdsTime stop) Called at SLE start to start the provision of framesvoidstartup()Called at the beginning to create socket, open connection, etcvoidstop(RacfServiceProvider rsp) Called at SLE stop
-
Constructor Details
-
UdpFrameSource
-
-
Method Details
-
startup
public void startup()Description copied from interface:FrameSourceCalled at the beginning to create socket, open connection, etc- Specified by:
startupin interfaceFrameSource
-
start
Description copied from interface:FrameSourceCalled at SLE start to start the provision of frames- Specified by:
startin interfaceFrameSource- Returns:
- -1 if the result is successful. return greater or equal with 0 means error and the code will be inserted into the specific part of the SLE return message
-
run
public void run() -
stop
Description copied from interface:FrameSourceCalled at SLE stop- Specified by:
stopin interfaceFrameSource
-
shutdown
public void shutdown()Description copied from interface:FrameSourceUndo what init has done- Specified by:
shutdownin interfaceFrameSource
-