org.activeio
Interface StreamChannelServer

All Superinterfaces:
Channel, ChannelServer, Disposable, Service
All Known Implementing Classes:
SocketStreamChannelServer

public interface StreamChannelServer
extends ChannelServer

A StreamChannelServer object provides an accept method to synchronously accept and create org.activeio.channel.Channel objects.

Version:
$Revision$

Field Summary
static long NO_WAIT_TIMEOUT
           
static long WAIT_FOREVER_TIMEOUT
           
 
Method Summary
 Channel accept(long timeout)
           
 
Methods inherited from interface org.activeio.ChannelServer
getBindURI, getConnectURI
 
Methods inherited from interface org.activeio.Channel
narrow
 
Methods inherited from interface org.activeio.Disposable
dispose
 
Methods inherited from interface org.activeio.Service
start, stop
 

Field Detail

NO_WAIT_TIMEOUT

static final long NO_WAIT_TIMEOUT
See Also:
Constant Field Values

WAIT_FOREVER_TIMEOUT

static final long WAIT_FOREVER_TIMEOUT
See Also:
Constant Field Values
Method Detail

accept

Channel accept(long timeout)
               throws IOException
Throws:
IOException


Copyright © -2009 The ActiveIO Project. All Rights Reserved.