net.i2p.router.client
Class MessageReceivedJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.client.MessageReceivedJob
- All Implemented Interfaces:
- Job
class MessageReceivedJob
- extends JobImpl
Async job to notify the client that a new message is available for them,
or just send it directly if specified.
Method Summary |
String |
getName()
Descriptive name of the task |
void |
runJob()
Actually perform the task. |
MessageReceivedJob
public MessageReceivedJob(RouterContext ctx,
ClientConnectionRunner runner,
Destination toDest,
Destination fromDest,
Payload payload,
boolean sendDirect)
- Parameters:
toDest
- non-null, required to pick sessionfromDest
- ignored, generally null
getName
public String getName()
- Description copied from interface:
Job
- Descriptive name of the task
runJob
public void runJob()
- Description copied from interface:
Job
- Actually perform the task. This call blocks until the Job is complete.