public interface SleService
It is used by the SleProvider to delegate the execution of operation in ACTIVE and READY (i.e. after bind
took place) SLE states.
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Called by the
SleProvider when the connection has been abruptly terminated. |
State |
getState()
Returns the service state.
|
void |
init(SleProvider provider)
Called at the beginning.
|
void |
processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is)
Called each time a message is received from the peer (SLE user) which cannot be processed by the
SleProvider. |
void |
sendStatusReport() |
void |
unbind()
Called by the
SleProvider when the user sent an UNBIND request. |
void init(SleProvider provider)
provider - void processData(com.beanit.jasn1.ber.BerTag berTag,
InputStream is)
throws IOException
SleProvider.
The messages are not necessary valid. The service can always call the SleProvider.peerAbort() operation
on the provider if it thinks the SLE user went awry.
IOExceptionvoid sendStatusReport()
State getState()
Should be one of State.READY or State.ACTIVE
void abort()
SleProvider when the connection has been abruptly terminated. The Service has to do
necessary cleanup operation.void unbind()
SleProvider when the user sent an UNBIND request. The provider will verify that the service
is in the State.READY when calling this method.Copyright © 2020 Space Applications Services. All rights reserved.