protected static class BaseIntraband.SendSyncDatagramCompletionHandler extends Object implements CompletionHandler<Object>
CompletionHandler.CompletionType
Modifier | Constructor and Description |
---|---|
protected |
SendSyncDatagramCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
delivered(Object attachment) |
void |
failed(Object attachment,
IOException ioe) |
void |
replied(Object attachment,
Datagram datagram) |
void |
submitted(Object attachment) |
void |
timedOut(Object attachment) |
Datagram |
waitResult(long timeout) |
public void delivered(Object attachment)
delivered
in interface CompletionHandler<Object>
public void failed(Object attachment, IOException ioe)
failed
in interface CompletionHandler<Object>
public void replied(Object attachment, Datagram datagram)
replied
in interface CompletionHandler<Object>
public void submitted(Object attachment)
submitted
in interface CompletionHandler<Object>
public void timedOut(Object attachment)
timedOut
in interface CompletionHandler<Object>
public Datagram waitResult(long timeout) throws InterruptedException, IOException, TimeoutException
InterruptedException
IOException
TimeoutException