Package org.yamcs.sle.udpslebridge
Class UdpFrameSink
java.lang.Object
org.yamcs.sle.udpslebridge.UdpFrameSink
- All Implemented Interfaces:
FrameSink
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.yamcs.sle.provider.FrameSink
FrameSink.ThrowEventResult, FrameSink.UplinkResult -
Constructor Summary
ConstructorsConstructorDescriptionUdpFrameSink(String hostname, int port, int bitrate) UdpFrameSink(Properties properties, String id) -
Method Summary
Modifier and TypeMethodDescriptionvoidshutdown()Called at shutdownintstart(CltuServiceProvider csp) Called at SLE START invocationvoidstartup()Called at startupintstop(CltuServiceProvider csp) Called at SLE STOP invocationthrowEvent(int evId, byte[] eventQualifier) Called when a throw event invocation is received.uplink(byte[] cltuData) uplinks the CLTU.
-
Constructor Details
-
UdpFrameSink
-
UdpFrameSink
-
-
Method Details
-
startup
public void startup()Description copied from interface:FrameSinkCalled at startup -
uplink
Description copied from interface:FrameSinkuplinks the CLTU. The method should block for the duration of the uplink -
throwEvent
Description copied from interface:FrameSinkCalled when a throw event invocation is received.- Specified by:
throwEventin interfaceFrameSink- Returns:
- - null return means ok, otherwise return the error
-
start
Description copied from interface:FrameSinkCalled at SLE START invocation -
stop
Description copied from interface:FrameSinkCalled at SLE STOP invocation -
shutdown
public void shutdown()Description copied from interface:FrameSinkCalled at shutdown
-