public class SynchronousTransportListener
extends TransportAdapter
Constructor and Description |
---|
SynchronousTransportListener()
Creates a new instance of SynchronousTransportListener
|
Modifier and Type | Method and Description |
---|---|
void |
attend()
Synchronized-method
Waits until
finish() was called and thus the end of the mail
sending was signalled. |
void |
finish()
Synchronized-method
|
void |
messageDelivered(TransportEvent e) |
void |
messageNotDelivered(TransportEvent e) |
void |
messagePartiallyDelivered(TransportEvent e) |
public SynchronousTransportListener()
public void messageDelivered(TransportEvent e)
public void messageNotDelivered(TransportEvent e)
public void messagePartiallyDelivered(TransportEvent e)
public void attend() throws InterruptedException
Waits until finish()
was called and thus the end of the mail
sending was signalled.
InterruptedException
- when interrupted while waiting with the lockpublic void finish()
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.