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

## com.ibm.ulc.comm
Class UlcSocketTransportServer

    java.lang.Object
      |
      +--com.ibm.ulc.comm.UlcTransportServer
            |
            +--com.ibm.ulc.comm.UlcSocketTransportServer

public class UlcSocketTransportServer
extends UlcTransportServer
implements java.lang.Runnable

A default implemention for ULC transport server using sockets. Creates UlcSocketTransports for incoming connections. Override createServerSocket() and createTransport() if you want to use subclasses of Socket and ServerSocket (e.g. for SSL). Then put your subclass names in the UlcTransport.properties file instead of the default UlcSocketTransport and UlcSocketTransportServer.

See Also:
  `UlcTransportServer`, `UlcSocketTransport`

Fields inherited from class com.ibm.ulc.comm.UlcTransportServer
`fgDebug`

Constructor Summary
`UlcSocketTransportServer()` UlcSocketTransportServer constructor.

Method Summary
`protected java.net.ServerSocket` | `createServerSocket(int port)`
`protected UlcTransport` | `createTransport(java.net.Socket socket)`
`void` | `run()` Runs the server and starts accepting connections.
`void` | `start()`

Methods inherited from class com.ibm.ulc.comm.UlcTransportServer
`create, getCallingServer, getUrlString`

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

Constructor Detail

### UlcSocketTransportServer

    public UlcSocketTransportServer()

  UlcSocketTransportServer constructor.

Method Detail

### createServerSocket

    protected java.net.ServerSocket createServerSocket(int port)
                                                throws java.io.IOException

### createTransport

    protected UlcTransport createTransport(java.net.Socket socket)

### run

    public void run()

  Runs the server and starts accepting connections.
  Specified by:
    run in interface java.lang.Runnable

### start

    public void start()
               throws UlcTransportException

  Overrides:
    start in class UlcTransportServer

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