Serial Framework
ContentsIndexHome
PreviousUpNext
CwclServerConnection Methods

The methods of the CwclServerConnection class are listed here.

 
Name 
Description 
 
Sends a notification to the main thread to create and init new client connection.  
 
Fires the OnClosed event.  
 
Fires the OnConnect event.  
 
Fires the OnDisconnect event.  
 
Fires the OnListen event.  
 
Implements a hardware depended method to stop listening.  
 
The method crteates a hardware and transport depended client connection.  
 
Implements a hardware depended method for listening the client connections.  
 
Implements a hardware depended code that prepares for listening.  
 
Closes the server.  
 
The message receiver calls this method when a new notification message has been received.  
 
The method sets the client's event handlers.  
 
Name 
Description 
 
The method disconnects all connected clients and closes the server.  
 
Gets a connected client by its index.  
 
Gets the number of connected clients.  
 
Gets the connection state.  
 
The method starts listening for client connections.  
 
The event fires when the server is closed.  
 
The event fires when the serve ris ready to accept incomming connections (is in listening state).  
 
The event fires when a remote client is connected to the server.  
 
The event fires when a remote client has disconnected from the server.
The prototype of the OnDisconnect event handler for server connections.  
Copyright (c) 2006-2018. All rights reserved.