public class CloneClientAgent extends Object implements Backgroundable
| Constructor and Description |
|---|
CloneClientAgent(ManagedContext context,
long heartbeatInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose()
Called just prior to the socket being closed.
|
void |
run(Context context,
Socket pipe)
Run a background thread communicating over the given socket.
|
public CloneClientAgent(ManagedContext context, long heartbeatInterval)
public void run(Context context, Socket pipe)
Backgroundablerun in interface Backgroundablecontext - The parent contextpipe - The socket used for communicationpublic void onClose()
BackgroundableonClose in interface BackgroundableCopyright © 2019. All rights reserved.