public final class MobileProcessServer
Title: MobileProcessServer
Description: This is a simple server process, used to forward processes on to Mobile Process Clients that request them
Copyright: Copyright (c) 2006
Company: Napier University
This process is a front end to deal with requests for processes from a Mobile Process Client. The manner of doing this is to have another process (a Sender) connected to the Server and write processes to it. This gives much of the functional control to the Sender process, as it dictates what processes are sent, and how many. In the future, this will be expanded into a Server that can deal with requests for different processes by passing a name back to the Sender process, which can then determine which process to send accordingly.
Type | Name and description |
---|---|
static MobileProcessServer |
getServer() Returns the singleton instance of this class |
void |
init(NetChannelInput requestIn, ChannelInput in) Sets the two input channels requried for this process. |
void |
run() The run method of this process. |
void |
sendProcess(MobileProcess theProcess, String processName) This method allows the sending of a single process. |
Returns the singleton instance of this class
Sets the two input channels requried for this process.
requestIn
- NetChannelInputin
- ChannelInputThe run method of this process.
This method allows the sending of a single process.
theProcess
- MobileProcessprocessName
- String