public class RcfServiceUserHandler extends RacfServiceUserHandler
This is copy and paste from RafServiceUserHandler because the RAF and RCF are almost the same but slightly so
different (seems like the CCSDS committee was missing from school when the lessons about code reused has been taught).
We do however provide one common RAF/RCF interface to our users highlighting the small differences in the API.
attr, authLevel, channelHandlerContext, monitors, startingCf, state| Constructor and Description |
|---|
RcfServiceUserHandler(Isp1Authentication auth,
SleAttributes attr,
Constants.DeliveryMode deliveryMode,
FrameConsumer consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMonitor(RacfSleMonitor monitor)
Add a monitor to be notified when events happen.
|
protected Constants.ApplicationIdentifier |
getApplicationIdentifier() |
CompletableFuture<SleParameter> |
getParameter(int parameterId)
Get the value of an RAF parameter from the provider
|
protected void |
processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is) |
void |
removeMonitor(RacfSleMonitor monitor) |
protected void |
sendStart(CompletableFuture<Void> cf,
CcsdsTime start,
CcsdsTime stop,
GVCID requestedGvcid) |
CompletableFuture<Void> |
start(CcsdsTime startTime,
CcsdsTime stopTime,
GVCID requestedGvcid)
Request that the SLE service provider starts sending
|
CompletableFuture<Void> |
start(GVCID requestedGvcid)
Request that the SLE service provider starts sending data
|
getDeliveryMode, isConnected, setDeliveryModebind, changeState, channelActive, channelRead, channelRegistered, checkUnbound, exceptionCaught, getAuthLevel, getFuture, getInvokeId, getInvokeId, getNonBindCredentials, getState, getVersionNumber, notifyDisconnected, peerAbort, processBindInvocation, processStopReturn, processUnbindInvocation, schedulePeriodicStatusReport, setAuthLevel, setVersionNumber, shutdown, stop, stopPeriodicStatusReport, unbind, verifyBindCredentials, verifyNonBindCredentialschannelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic RcfServiceUserHandler(Isp1Authentication auth, SleAttributes attr, Constants.DeliveryMode deliveryMode, FrameConsumer consumer)
public CompletableFuture<SleParameter> getParameter(int parameterId)
getParameter in class RacfServiceUserHandlerparameterId - one of the parameters defined in Constants.ParameterName. 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.public CompletableFuture<Void> start(CcsdsTime startTime, CcsdsTime stopTime, GVCID requestedGvcid)
public void addMonitor(RacfSleMonitor monitor)
addMonitor in class RacfServiceUserHandlermonitor - public void removeMonitor(RacfSleMonitor monitor)
removeMonitor in class RacfServiceUserHandlerpublic CompletableFuture<Void> start(GVCID requestedGvcid)
protected void processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is)
throws IOException
processData in class AbstractServiceUserHandlerIOExceptionprotected void sendStart(CompletableFuture<Void> cf, CcsdsTime start, CcsdsTime stop, GVCID requestedGvcid)
protected Constants.ApplicationIdentifier getApplicationIdentifier()
getApplicationIdentifier in class AbstractServiceUserHandlerCopyright © 2020 Space Applications Services. All rights reserved.