@PermitAll public class UnprocessedInputsServiceBean extends Object implements UnprocessedInputsService
UnprocessedInputsService
.Constructor and Description |
---|
UnprocessedInputsServiceBean() |
Modifier and Type | Method and Description |
---|---|
void |
addInput(CommunicationUnit input)
Adds an unprocessed input.
|
List<CommunicationUnit> |
getInputsForReceiver(long modelInstanceId)
Returns unprocessed
CommunicationUnit for a receiver. |
void |
replaceInputsForReceiver(long modelInstanceId,
List<CommunicationUnit> inputs)
Removes all inputs for the receiver and adds new ones.
|
void |
resendInputsFor(long modelInstanceId)
Resends unprocessed inputs for an agentInfo to corresponding agent and
removes them.
|
public void resendInputsFor(long modelInstanceId)
UnprocessedInputsService
resendInputsFor
in interface UnprocessedInputsService
public List<CommunicationUnit> getInputsForReceiver(long modelInstanceId)
UnprocessedInputsService
CommunicationUnit
for a receiver.getInputsForReceiver
in interface UnprocessedInputsService
CommunicationUnit
for a receiverpublic void replaceInputsForReceiver(long modelInstanceId, List<CommunicationUnit> inputs)
UnprocessedInputsService
replaceInputsForReceiver
in interface UnprocessedInputsService
inputs
- new inputspublic void addInput(CommunicationUnit input)
UnprocessedInputsService
addInput
in interface UnprocessedInputsService
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.