net.sf.asyncobjects.net
Interface ASocketFactory

All Superinterfaces:
AsyncObject
All Known Implementing Classes:
NIOSocketFactory, TSocketFactory

public interface ASocketFactory
extends AsyncObject

A factory for sockets


Method Summary
 Promise<AServerSocket> makeServerSocket()
           
 Promise<ASocket> makeSocket()
           
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

makeServerSocket

Promise<AServerSocket> makeServerSocket()
Returns:
server socket

makeSocket

Promise<ASocket> makeSocket()
Returns:
unconnected client socket


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.