synapsi.main
Class TestMain


java.lang.Object

  |

  +--synapsi.main.TestMain


public class TestMain
extends java.lang.Object
implements MainForNet


Field Summary
 java.lang.String sIP
           
 
Constructor Summary
TestMain()
           
 
Method Summary
 void doStuff()
           
static void main(java.lang.String[] args)
           
 void setClientVersion(java.lang.String s, java.lang.String t)
           
 void threadEnd()
          Callback for notifying main that an update has ended and a new thread can start updating.
 int threadStart(UpdateThread t)
          Callback for checking if update protocol can proceed to uploading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sIP


public java.lang.String sIP
Constructor Detail

TestMain


public TestMain()
Method Detail

threadStart


public int threadStart(UpdateThread t)
Description copied from interface: MainForNet
Callback for checking if update protocol can proceed to uploading
Specified by:
threadStart in interface MainForNet
Tags copied from interface: MainForNet
Parameters:
t - UpdateThread calling this method.
Returns:
0 if ok to proceed, negative if not.

threadEnd


public void threadEnd()
Description copied from interface: MainForNet
Callback for notifying main that an update has ended and a new thread can start updating.
Specified by:
threadEnd in interface MainForNet

doStuff


public void doStuff()

main


public static void main(java.lang.String[] args)

setClientVersion


public void setClientVersion(java.lang.String s,
                             java.lang.String t)