Improved logging.
This commit is contained in:
parent
b755762ea6
commit
71cf945183
|
@ -45,7 +45,7 @@ public abstract class AbstractAsyncConnection implements AsyncConnection
|
||||||
public AbstractAsyncConnection(AsyncEndPoint endp, Executor executor, final boolean executeOnlyFailure)
|
public AbstractAsyncConnection(AsyncEndPoint endp, Executor executor, final boolean executeOnlyFailure)
|
||||||
{
|
{
|
||||||
if (executor == null)
|
if (executor == null)
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException("Executor must not be null!");
|
||||||
|
|
||||||
_endp = endp;
|
_endp = endp;
|
||||||
_readCallback = new ExecutorCallback<Void>(executor)
|
_readCallback = new ExecutorCallback<Void>(executor)
|
||||||
|
@ -129,7 +129,7 @@ public abstract class AbstractAsyncConnection implements AsyncConnection
|
||||||
@Override
|
@Override
|
||||||
public void onOpen()
|
public void onOpen()
|
||||||
{
|
{
|
||||||
LOG.debug("Opened {}",this);
|
LOG.debug("{} opened",this);
|
||||||
fillInterested();
|
fillInterested();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue