Class wb.UserInfoSet
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class wb.UserInfoSet

java.lang.Object
   |
   +----wb.UserInfoSet

public class UserInfoSet
extends Object
implements Runnable, GTypes
UserInfoSet provides a means to set information about the user/participant Information like Output Socket/Stream. It also handles the protocol to start a session. It provides concurrent (apparent if the platform does not support)

Constructor Index

 o UserInfoSet(UserInfo, String, String)
Creates an instance defaults to START mode, server port WBPORT (=9060) needs explicit start to start the thread
 o UserInfoSet(UserInfo, String, String, int)
Creates an instance default server port WBPORT (=9060)
 o UserInfoSet(int, UserInfo, String, String)
Creates an instance default START mode
 o UserInfoSet(int, UserInfo, String, String, int)
Creates an instance

Method Index

 o join()
join method Not used explicitly.
 o run()
Performed when the current thread is active
 o start()
Starts the current thread at NORMAL priority
 o stop()
Stops the current thread

Constructors

 o UserInfoSet
  public UserInfoSet(UserInfo arg,
                     String luser,
                     String lhost)
Creates an instance defaults to START mode, server port WBPORT (=9060) needs explicit start to start the thread
Parameters:
arg - UserInfo instance attached to this thread
luser - name of the local user
lhost - name of the local host
 o UserInfoSet
  public UserInfoSet(UserInfo arg,
                     String luser,
                     String lhost,
                     int startmode)
Creates an instance default server port WBPORT (=9060)
Parameters:
arg - UserInfo instance attached to this thread
luser - name of the local user
lhost - name of the local host
startmode - could be START, WBJOIN, CMJOIN
 o UserInfoSet
  public UserInfoSet(int portno,
                     UserInfo arg,
                     String luser,
                     String lhost)
Creates an instance default START mode
Parameters:
portno - port number of the server.
arg - UserInfo instance attached to this thread
luser - name of the local user
lhost - name of the local host
 o UserInfoSet
  public UserInfoSet(int portno,
                     UserInfo arg,
                     String luser,
                     String lhost,
                     int startmode)
Creates an instance
Parameters:
portno - port number of the server.
arg - UserInfo instance attached to this thread
luser - name of the local user
lhost - name of the local host
startmode - could be START, WBJOIN, CMJOIN

Methods

 o start
  public void start()
Starts the current thread at NORMAL priority
 o stop
  public void stop()
Stops the current thread
 o run
  public void run()
Performed when the current thread is active
 o join
  public final void join() throws InterruptedException
join method Not used explicitly.
Throws: Interrupted
Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index