Synergy Home Page

au.edu.swin.synergy.plugin.server
Class BServerSession

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--au.edu.swin.synergy.plugin.server.BServerSession

public class BServerSession
extends Thread

Server session

Requirement/analysis/design Reference:
Tristans Book
See Also:
BServer

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BServerSession(Socket fSocket, BServer fServer)
          Please complete the missing tags for BServerSession
 
Method Summary
 void doKick()
          Force the currect connection to close
 int getID()
          Please complete the missing tags for getID
 BUser getUser()
          Please complete the missing tags for getUser
 void run()
          Please complete the missing tags for run
 void sendEvent(BCommandEvent event)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BServerSession

public BServerSession(Socket fSocket,
                      BServer fServer)
Please complete the missing tags for BServerSession
Parameters:
-  
Throws:
-  
Method Detail

getID

public int getID()
Please complete the missing tags for getID
Parameters:
-  
Returns:
 
Pre Condition:
 
Post Condition:
 

getUser

public BUser getUser()
Please complete the missing tags for getUser
Parameters:
-  
Returns:
 
Pre Condition:
 
Post Condition:
 

sendEvent

public void sendEvent(BCommandEvent event)
Parameters:
-  
Returns:
 
Pre Condition:
the event is of type kClient only Please complete the missing tags for sendEvent
Post Condition:
 

run

public void run()
Please complete the missing tags for run
Parameters:
-  
Returns:
 
Throws:
-  
Overrides:
run in class Thread
Pre Condition:
 
Post Condition:
 

doKick

public void doKick()
Force the currect connection to close
Pre Condition:
the connection is established
Post Condition:
the connection is comming tumbling down

Synergy Home Page