Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ejie.r01f.net.proxy
Class SimpleProxyServer

    java.lang.Object
      com.ejie.r01f.net.proxy.SimpleProxyServer

public class SimpleProxyServer
extends java.lang.Object

Ejemplo de Implementación de un Proxy.

Author:
  ie00191m

Constructor Summary
`SimpleProxyServer()`

Method Summary
`static void` | `main(java.lang.String[] args)`
`static void` | `runServer(java.lang.String host, int remoteport, int localport)` Thread que 1.Escucha las Peticiones clientes 2.Redirige al Remote Host. 3.Lee respuesta del Remote Host. 4.Escribe la respuesta del Remote Host en el Cliente.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleProxyServer

    public SimpleProxyServer()

Method Detail

### main

    public static void main(java.lang.String[] args)
                     throws java.io.IOException

  Throws:
    `java.io.IOException`

### runServer

    public static void runServer(java.lang.String host,
                                 int remoteport,
                                 int localport)
                          throws java.io.IOException

  Thread que 1.Escucha las Peticiones clientes 2.Redirige al Remote Host. 3.Lee respuesta del Remote Host. 4.Escribe la respuesta del Remote Host en el Cliente.

  Parameters:
    `host` -
    `remoteport` -
    `localport` -
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD