Skip to content

Commit

Permalink
#1982 - Opening up the send and notifyListeners methods on RemoteTran…
Browse files Browse the repository at this point in the history
…sport so 3rd parties can extend it properly
  • Loading branch information
viktorklang committed Apr 7, 2012
1 parent 19efd96 commit bc3e2ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions akka-remote/src/main/scala/akka/remote/RemoteTransport.scala
Expand Up @@ -185,11 +185,11 @@ abstract class RemoteTransport {

/** Methods that needs to be implemented by a transport **/

protected[akka] def send(message: Any,
senderOption: Option[ActorRef],
recipient: RemoteActorRef): Unit
def send(message: Any,
senderOption: Option[ActorRef],
recipient: RemoteActorRef): Unit

protected[akka] def notifyListeners(message: RemoteLifeCycleEvent): Unit = {
def notifyListeners(message: RemoteLifeCycleEvent): Unit = {
system.eventStream.publish(message)
system.log.log(message.logLevel, "REMOTE: {}", message)
}
Expand Down
Expand Up @@ -101,7 +101,7 @@ class NettyRemoteTransport(val remoteSettings: RemoteSettings, val system: Actor
}
}

protected[akka] def send(
def send(
message: Any,
senderOption: Option[ActorRef],
recipient: RemoteActorRef): Unit = {
Expand Down

0 comments on commit bc3e2ce

Please sign in to comment.