// 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.

// This file is autogenerated by:
//     mojo/public/tools/bindings/mojom_bindings_generator.py
// For:
//     mojo/services/network/public/interfaces/tcp_server_socket.mojom
//

package org.chromium.mojom.mojo;

public interface TcpServerSocket extends org.chromium.mojo.bindings.Interface {

    public interface Proxy extends TcpServerSocket, org.chromium.mojo.bindings.Interface.Proxy {
    }

    Manager<TcpServerSocket, TcpServerSocket.Proxy> MANAGER = TcpServerSocket_Internal.MANAGER;

    void accept(org.chromium.mojo.system.DataPipe.ConsumerHandle sendStream, org.chromium.mojo.system.DataPipe.ProducerHandle receiveStream, org.chromium.mojo.bindings.InterfaceRequest<TcpConnectedSocket> clientSocket, AcceptResponse callback);
    interface AcceptResponse extends org.chromium.mojo.bindings.Callbacks.Callback2<NetworkError, NetAddress> { }
}

