Package org.yamcs.sle.udpslebridge
Class UdpFrameReceiver
- java.lang.Object
-
- org.yamcs.sle.udpslebridge.UdpFrameReceiver
-
- All Implemented Interfaces:
Runnable,FrameDownlinker
public class UdpFrameReceiver extends Object implements FrameDownlinker, Runnable
-
-
Constructor Summary
Constructors Constructor Description UdpFrameReceiver(int port, int maxFrameLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(RacfServiceProvider rsp)Called at the beginning to initialise.voidrun()voidshutdown()Called when the RAF service is unboundintstart()Called at SLE start to start the provision of framesvoidstop()Called at SLE stop
-
-
-
Method Detail
-
init
public void init(RacfServiceProvider rsp)
Description copied from interface:FrameDownlinkerCalled at the beginning to initialise.- Specified by:
initin interfaceFrameDownlinker- Parameters:
rsp- - the frames should be forwarded to this
-
start
public int start()
Description copied from interface:FrameDownlinkerCalled at SLE start to start the provision of frames- Specified by:
startin interfaceFrameDownlinker- 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
-
stop
public void stop()
Description copied from interface:FrameDownlinkerCalled at SLE stop- Specified by:
stopin interfaceFrameDownlinker
-
shutdown
public void shutdown()
Description copied from interface:FrameDownlinkerCalled when the RAF service is unbound- Specified by:
shutdownin interfaceFrameDownlinker
-
-