Adding support for non-delivery notifications on server-side as well + more code cleanup

This commit is contained in:
Viktor Klang 2011-01-03 14:44:15 +01:00
parent 7a0e8a82de
commit 00840c8f5a
2 changed files with 42 additions and 40 deletions

View file

@ -99,6 +99,10 @@ case class RemoteServerClientDisconnected(
case class RemoteServerClientClosed(
@BeanProperty val server: RemoteServerModule,
@BeanProperty val clientAddress: Option[InetSocketAddress]) extends RemoteServerLifeCycleEvent
case class RemoteServerWriteFailed(
@BeanProperty request: AnyRef,
@BeanProperty cause: Throwable,
@BeanProperty client: RemoteServerModule, remoteAddress: InetSocketAddress) extends RemoteServerLifeCycleEvent
/**
* Thrown for example when trying to send a message using a RemoteClient that is either not started or shut down.