Index: mojo/public/java/bindings/src/org/chromium/mojo/bindings/Router.java |
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Router.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Router.java |
deleted file mode 100644 |
index ba19ae5ac4b11b8b5e8491992503ee482cc0b66f..0000000000000000000000000000000000000000 |
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Router.java |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package org.chromium.mojo.bindings; |
- |
-import org.chromium.mojo.system.MessagePipeHandle; |
- |
-/** |
- * A {@link Router} will handle mojo message and forward those to a {@link Connector}. It deals with |
- * parsing of headers and adding of request ids in order to be able to match a response to a |
- * request. |
- */ |
-public interface Router extends MessageReceiverWithResponder, HandleOwner<MessagePipeHandle> { |
- |
- /** |
- * Start listening for incoming messages. |
- */ |
- public void start(); |
- |
- /** |
- * Set the {@link MessageReceiverWithResponder} that will deserialize and use the message |
- * received from the pipe. |
- */ |
- public void setIncomingMessageReceiver(MessageReceiverWithResponder incomingMessageReceiver); |
- |
- /** |
- * Set the handle that will be notified of errors on the message pipe. |
- */ |
- public void setErrorHandler(ConnectionErrorHandler errorHandler); |
-} |