ModelHandler for a SocketReceiver configuration.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private ReceiverBase |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | getSupportedModelClass()
Overrides ch. |
| public void | handle(ModelInterpretationContext mic, Model model)
Implements abstract ch. |
| public static ModelHandlerBase | |
| public void |
| inError | back to summary |
|---|---|
| private boolean inError | |
| receiver | back to summary |
|---|---|
| private ReceiverBase receiver | |
| ReceiverModelHandler | back to summary |
|---|---|
| public ReceiverModelHandler(Context context) | |
| getSupportedModelClass | back to summary |
|---|---|
| protected Class Overrides ch. Doc from ch. Subclasses should return the subclass of Model that they expect to handle. The default implementation assumes that all Model classes are supported. This a very lax assumption which is usually not true.
| |
| handle | back to summary |
|---|---|
| public void handle(ModelInterpretationContext mic, Model model) throws ModelHandlerException Implements abstract ch.
| |
| makeInstance | back to summary |
|---|---|
| public static ModelHandlerBase makeInstance(Context context, ModelInterpretationContext ic) | |
| postHandle | back to summary |
|---|---|
| public void postHandle(ModelInterpretationContext mic, Model model) throws ModelHandlerException Overrides ch.
| |