Interface INCommHost
-
public interface INCommHost
- Since:
- CS5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
activeClients()
void
addConnection(java.io.InputStream in, java.io.OutputStream out)
Add a new connection to this ncomm host instance.void
dispose()
Terminate the host forcibly closing all active connections
-
-
-
Method Detail
-
addConnection
void addConnection(java.io.InputStream in, java.io.OutputStream out) throws NativeCommException
Add 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
-
-