All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.devtools.SIPNoTE.SNClient
java.lang.Object
|
+----com.ibm.devtools.SIPNoTE.SNClient
- public class SNClient
- extends Object
This class represents the client side daemon which handles all
messaging interactions between the client processes and servers.
Currently, it is responsible for:
- Performing the initial user logon to the server.
- Receiving outgoing jephyr requests and repackaging them as SIP
messages to be sent to the server.
- Receiving incoming SIP messages, processing their contents, and
invoking the proper message handler (currently a popup window for
Jephyr messages.)
- Spawning the SNWatch window for user interactions.
The client uses a properties file (the .sipnote file) to change
a set of variables, such as server name, port, etc. from their
default values.
-
SNClient()
-
-
exit()
- Terminate the SNClient.
-
main(String[])
- This is the main routine (surprise, surprise).
SNClient
public SNClient()
exit
public static void exit()
- Terminate the SNClient. This will kill the spawned threads,
and perform any other cleanup which is necessary, including
unregistering the user.
main
public static void main(String argv[])
- This is the main routine (surprise, surprise). It currently
takes two types of command line arguments. The first,
"-p ", specifies which port the client will listen on for
incoming SIP messages. The second, "-i" indicates that the client
should use its IP address, and not hostname, when filling in the
message headers. This is very useful in cases where the client
does not have a valid DNS entry for the server to do name resolution
upon.
All Packages Class Hierarchy This Package Previous Next Index