public class TaskServerConnectorImpl extends Object implements TaskServerConnector
Constructor and Description |
---|
TaskServerConnectorImpl(Context context,
Task task)
Constructor of the server connector.
|
Modifier and Type | Method and Description |
---|---|
void |
start()
Start the server connector, which actually start the task.
|
void |
stop()
Stop the server connector which actually stops the task.
|
public void start() throws SchedulingException
start
in interface TaskServerConnector
SchedulingException
- if error occurred while starting the Task server connector.public void stop() throws SchedulingException
stop
in interface TaskServerConnector
SchedulingException
- if error occurred while stopping the Task server connector.Copyright © 2019 WSO2. All rights reserved.