Package org.yamcs.sle.udpslebridge
Class UdpFrameReceiver
java.lang.Object
org.yamcs.sle.udpslebridge.UdpFrameReceiver
- All Implemented Interfaces:
Runnable,FrameDownlinker
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UdpFrameReceiver
public UdpFrameReceiver(int port, int maxFrameLength)
-
-
Method Details
-
init
Description copied from interface:FrameDownlinkerCalled at the beginning to initialise.- Specified by:
initin interfaceFrameDownlinker- Parameters:
rsp- - the frames should be forwarded to this
-
run
public void run() -
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
-