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)
Backgroundable
run
in interface Backgroundable
context
- The parent contextpipe
- The socket used for communicationpublic void onClose()
Backgroundable
onClose
in interface Backgroundable
Copyright © 2019. All rights reserved.