handleSocket(aSocket)
This method is called when the server accepts a new socket. The new socket is passed as the argument.
Override this method in your own server subclass. The default implementation raises an exception.
port
Returns the port on which the server will listen for connections.
setHost(hostName)
Sets the hostName. Returns self.
setPath(path)
Sets the path (for Unix Domain sockets) on which the server will listen for connections. Returns self.
setPort(aNumber)
Sets the port on which the server will listen for connections. Returns self.
start
Starts the server. This method will not return until server is stopped,
so you may want to send the start message as an asynchronous message.
Returns self or an Error, if one occurs.
stop
Stops the server if it is running. Returns self.
|