|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.joctopus.starter.JOctopus
public class JOctopus
JOctopus starter, Following are the functions performed by this class. 1. Loads config and users. 2. Starts core services i.e (File Transfer,Chat,Handshake,Instance manager) 3. Starts JOctopus tray.
Field Summary | |
---|---|
static java.util.ResourceBundle |
applnProperties
loads application properties. |
Server |
chatService
Server for accepting chat messages |
FileRecieverServer |
frserver
server for recieving files |
FileTransferServer |
ftserver
server for transferring files |
static java.util.Hashtable<java.lang.String,javax.swing.ImageIcon> |
imageResource
stores images references. |
Server |
instanceService
server for tracking the application instance. |
Constructor Summary | |
---|---|
JOctopus()
Default constructor I need it as i want to initialize certain startup points out here |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
handle system tray events. |
static javax.swing.JLabel |
getOptionLabel(java.lang.String message)
|
static javax.swing.JScrollPane |
getOptionMessage(java.lang.String message)
|
void |
initializeUsersChatHistory()
initializes the chat history for all users. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Server chatService
public Server instanceService
public FileTransferServer ftserver
public FileRecieverServer frserver
public static java.util.ResourceBundle applnProperties
public static final java.util.Hashtable<java.lang.String,javax.swing.ImageIcon> imageResource
Constructor Detail |
---|
public JOctopus()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
ActionEvent
- public void initializeUsersChatHistory()
public static javax.swing.JLabel getOptionLabel(java.lang.String message)
public static javax.swing.JScrollPane getOptionMessage(java.lang.String message)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |