com.softwareag.um.io.SynchronousServerTransport Class Reference

This ServerTransport is used synchronously accept client transports. More...

Inheritance diagram for com.softwareag.um.io.SynchronousServerTransport:
com.softwareag.um.io.ServerTransport

Public Member Functions

SynchronousTransport accept () throws IOException
 Blocking call which will return a synchronous client transport when a client connects. More...
 
void close ()
 Close this ServerTransport so that is can no longer be used to accept connections.
 

Detailed Description

This ServerTransport is used synchronously accept client transports.

The accept() call is a blocking call which will return a SynchronousTransport as soon as it connects.

See Also
com.softwareag.um.io.AsynchronousServerTransport

Member Function Documentation

SynchronousTransport com.softwareag.um.io.SynchronousServerTransport.accept ( ) throws IOException

Blocking call which will return a synchronous client transport when a client connects.

Returns
SynchronousTransport the client transport for a new connection
Exceptions
IOExceptionthrown if the server transport is closed