Package org.yamcs.sle.user
Class RacfServiceUserHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.yamcs.sle.user.AbstractServiceUserHandler
org.yamcs.sle.user.RacfServiceUserHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
RafServiceUserHandler,RcfServiceUserHandler
Implementation for the CCSDS RECOMMENDED STANDARD FOR SLE RAF SERVICE
CCSDS 911.1-B-4 August 2016 https://public.ccsds.org/Pubs/911x1b4.pdf
and
CCSDS 911.1-B-4 August 2016 https://public.ccsds.org/Pubs/911x1b4.pdf
The RAF and RCF service are almost the same but slightly so different
We do however provide one common RAF/RCF interface to our users highlighting the small differences in the API.
- Author:
- nm
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.yamcs.sle.user.AbstractServiceUserHandler
attr, authLevel, channelHandlerContext, monitors, startingCf, state -
Constructor Summary
ConstructorsConstructorDescriptionRacfServiceUserHandler(Isp1Authentication auth, SleAttributes attr, Constants.DeliveryMode deliveryMode, FrameConsumer consumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMonitor(RacfSleMonitor monitor) Add a monitor to be notified when events happen.abstract CompletableFuture<SleParameter>getParameter(int parameterId) Get the value of an RAF parameter from the providervoidremoveMonitor(RacfSleMonitor monitor) voidsetDeliveryMode(Constants.DeliveryMode deliveryMode) Methods inherited from class org.yamcs.sle.user.AbstractServiceUserHandler
bind, changeState, channelActive, channelRead, channelRegistered, checkUnbound, exceptionCaught, getApplicationIdentifier, getAuthLevel, getFuture, getInvokeId, getInvokeId, getNonBindCredentials, getState, getVersionNumber, isConnected, notifyDisconnected, peerAbort, processBindInvocation, processData, processStopReturn, processUnbindInvocation, schedulePeriodicStatusReport, setAuthLevel, setReturnTimeoutSec, setVersionNumber, shutdown, stop, stopPeriodicStatusReport, unbind, verifyBindCredentials, verifyNonBindCredentialsMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
RacfServiceUserHandler
public RacfServiceUserHandler(Isp1Authentication auth, SleAttributes attr, Constants.DeliveryMode deliveryMode, FrameConsumer consumer)
-
-
Method Details
-
getParameter
Get the value of an RAF parameter from the provider- Specified by:
getParameterin classAbstractServiceUserHandler- Parameters:
parameterId- one of the parameters defined inParameterName. Note that not all of them make sense for the RAF, see the table 3-11 in the standard to see which ones make sense.- Returns:
-
getDeliveryMode
-
setDeliveryMode
-
addMonitor
Add a monitor to be notified when events happen.- Parameters:
monitor-
-
removeMonitor
-