move RemoteServerStarted message to NettyRemoteTransport, fixes #1771
- also make port=0 (auto) for two remote tests (config&deployer) - also fix remote-sample conf files to configure “netty” section
This commit is contained in:
parent
d43d41d100
commit
d8fa7578e1
6 changed files with 11 additions and 11 deletions
|
|
@ -15,7 +15,7 @@ import org.jboss.netty.handler.codec.frame.{ LengthFieldPrepender, LengthFieldBa
|
|||
import org.jboss.netty.handler.execution.ExecutionHandler
|
||||
import akka.event.Logging
|
||||
import akka.remote.RemoteProtocol.{ RemoteControlProtocol, CommandType, AkkaRemoteProtocol }
|
||||
import akka.remote.{ RemoteServerStarted, RemoteServerShutdown, RemoteServerError, RemoteServerClientDisconnected, RemoteServerClientConnected, RemoteServerClientClosed, RemoteProtocol, RemoteMessage }
|
||||
import akka.remote.{ RemoteServerShutdown, RemoteServerError, RemoteServerClientDisconnected, RemoteServerClientConnected, RemoteServerClientClosed, RemoteProtocol, RemoteMessage }
|
||||
import akka.actor.Address
|
||||
import java.net.InetAddress
|
||||
import akka.actor.ActorSystemImpl
|
||||
|
|
@ -53,7 +53,6 @@ class NettyRemoteServer(val netty: NettyRemoteTransport) {
|
|||
def start(): Unit = {
|
||||
channel = bootstrap.bind(new InetSocketAddress(ip, settings.PortSelector))
|
||||
openChannels.add(channel)
|
||||
netty.notifyListeners(RemoteServerStarted(netty))
|
||||
}
|
||||
|
||||
def shutdown() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue