net.jini.jeri.connection
Class ServerConnectionManager.InboundMux

java.lang.Object
  extended by com.sun.jini.jeri.internal.mux.Mux
      extended by com.sun.jini.jeri.internal.mux.MuxServer
          extended by net.jini.jeri.connection.ServerConnectionManager.InboundMux
Enclosing class:
ServerConnectionManager

private static final class ServerConnectionManager.InboundMux
extends MuxServer

Subclass wrapper around MuxServer for inbound connections.


Field Summary
private  ServerConnection c
          The inbound connection.
 
Fields inherited from class com.sun.jini.jeri.internal.mux.Mux
MAX_REQUESTS
 
Constructor Summary
private ServerConnectionManager.InboundMux(ServerConnection c, RequestDispatcher dispatcher)
          Constructs an instance from the connection's streams.
private ServerConnectionManager.InboundMux(ServerConnection c, RequestDispatcher dispatcher, boolean ignore)
          Constructs an instance from the connection's channel.
 
Method Summary
(package private) static void create(ServerConnection c, RequestDispatcher dispatcher)
          Constructs an instance from the connection.
protected  void handleDown()
          Close the connection, so that the provider is notified.
 
Methods inherited from class com.sun.jini.jeri.internal.mux.MuxServer
checkConstraints, checkPermissions, populateContext, shutdown, shutdownGracefully
 
Methods inherited from class com.sun.jini.jeri.internal.mux.Mux
setStartTimeout, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

private final ServerConnection c
The inbound connection.

Constructor Detail

ServerConnectionManager.InboundMux

private ServerConnectionManager.InboundMux(ServerConnection c,
                                           RequestDispatcher dispatcher)
                                    throws IOException
Constructs an instance from the connection's streams.

Throws:
IOException

ServerConnectionManager.InboundMux

private ServerConnectionManager.InboundMux(ServerConnection c,
                                           RequestDispatcher dispatcher,
                                           boolean ignore)
                                    throws IOException
Constructs an instance from the connection's channel.

Throws:
IOException
Method Detail

create

static void create(ServerConnection c,
                   RequestDispatcher dispatcher)
Constructs an instance from the connection.


handleDown

protected void handleDown()
Close the connection, so that the provider is notified.

Overrides:
handleDown in class Mux


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.