public class CltuServiceUserHandler extends AbstractServiceUserHandler
AbstractServiceUserHandler.AuthLevel, AbstractServiceUserHandler.Stateattr, authLevel, channelHandlerContext, monitors, startingCf, state| Constructor and Description |
|---|
CltuServiceUserHandler(Isp1Authentication auth,
SleAttributes attr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMonitor(CltuSleMonitor monitor)
Add a monitor to be notified when events happen.
|
protected Constants.ApplicationIdentifier |
getApplicationIdentifier() |
long |
getCltuBufferAvailable() |
CompletableFuture<CltuGetParameter> |
getParameter(Constants.ParameterName parameterName) |
CompletableFuture<CltuGetParameter> |
getParameter(int parameterId)
Get the value of an CLTU parameter from the provider
|
protected void |
processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is) |
void |
removeMonitor(CltuSleMonitor monitor) |
protected void |
sendStart(CompletableFuture<Void> cf) |
CompletableFuture<Void> |
throwEvent(int eventIdentifier,
byte[] eventQualifier) |
int |
transferCltu(byte[] cltu)
Transfer a CLTU to the provider requesting immediate transmission
|
int |
transferCltu(byte[] cltu,
CcsdsTime earliestTransmissionTime,
CcsdsTime latestTransmissionTime,
long delayMicrosec,
boolean produceReport)
Transfer a CLTU to the provider
|
bind, changeState, channelActive, channelRead, channelRegistered, checkUnbound, exceptionCaught, getAuthLevel, getConditionalTime, getFuture, getInvokeId, getInvokeId, getNonBindCredentials, getTime, getVersionNumber, isConnected, notifyDisconnected, peerAbort, processBindInvocation, processStopReturn, processUnbindInvocation, schedulePeriodicStatusReport, setAuthLevel, setVersionNumber, shutdown, start, stop, stopPeriodicStatusReport, unbind, verifyBindCredentials, verifyNonBindCredentialschannelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic CltuServiceUserHandler(Isp1Authentication auth, SleAttributes attr)
public CompletableFuture<CltuGetParameter> getParameter(int parameterId)
parameterId - one of the parameters defined in Constants.ParameterName. Note that not all of them make sense for the
CLTU, see the table 3-11 in the standard to see which ones make sense.public CompletableFuture<CltuGetParameter> getParameter(Constants.ParameterName parameterName)
public int transferCltu(byte[] cltu)
cltu - CltuSleMonitor.onAsyncNotify(CltuAsyncNotifyInvocation)public int transferCltu(byte[] cltu,
CcsdsTime earliestTransmissionTime,
CcsdsTime latestTransmissionTime,
long delayMicrosec,
boolean produceReport)
cltu - the cltu to be transferredearliestTransmissionTime - earliest transmission time. null can be used to request immediate
transmission.latestTransmissionTime - latest transmission time. null can be used to impose no limit.delayMicrosec - produceReport - if set to true, the CLTU provider will send a notification upon completion of the radidation. See
CltuSleMonitor.onAsyncNotify(CltuAsyncNotifyInvocation)CltuSleMonitor.onAsyncNotify(CltuAsyncNotifyInvocation)public CompletableFuture<Void> throwEvent(int eventIdentifier, byte[] eventQualifier)
eventIdentifier - eventQualifier - public void addMonitor(CltuSleMonitor monitor)
monitor - public void removeMonitor(CltuSleMonitor monitor)
protected void processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is)
throws IOException
processData in class AbstractServiceUserHandlerIOExceptionprotected void sendStart(CompletableFuture<Void> cf)
public long getCltuBufferAvailable()
protected Constants.ApplicationIdentifier getApplicationIdentifier()
getApplicationIdentifier in class AbstractServiceUserHandlerCopyright © 2020 Space Applications Services. All rights reserved.