Interface INCommHost
- 
public interface INCommHost- Since:
 - CS5
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intactiveClients()voidaddConnection(java.io.InputStream in, java.io.OutputStream out)Add a new connection to this ncomm host instance.voiddispose()Terminate the host forcibly closing all active connections 
 - 
 
- 
- 
Method Detail
- 
addConnection
void addConnection(java.io.InputStream in, java.io.OutputStream out) throws NativeCommExceptionAdd a new connection to this ncomm host instance.- Parameters:
 in- - connection InputStreamout- - connection OutputStream- Throws:
 NativeCommException- - on error
 
- 
activeClients
int activeClients()
- Returns:
 - number of currently connected clients
 
 
- 
dispose
void dispose()
Terminate the host forcibly closing all active connections 
 - 
 
 -