Interface INCommHost
public interface INCommHost
- Since:
- CS5
-
Method Summary
Modifier and TypeMethodDescriptionintvoidaddConnection(InputStream in, OutputStream out) Add a new connection to this ncomm host instance.voiddispose()Terminate the host forcibly closing all active connections
-
Method Details
-
addConnection
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
-