All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.sunysb.cs.ecsl.videoserver.VideoServer

java.lang.Object
   |
   +----edu.sunysb.cs.ecsl.videoserver.VideoServer

public class VideoServer
extends Object
The main entry point to the program. The main thread.


Variable Index

 o application
the single instance of VideoServer class
 o channelRegistry
holds the list of all channels
 o connectionsThreadGroup
all incoming connections goes into that group
 o logFileName
 o logOutputStream
print all logging to stream
 o properties
 o RootPassword
 o verboseLevel

Constructor Index

 o VideoServer()
constructor

Method Index

 o finalize()
 o log(int, String)
 o main(String[])
 o startrecording(String, String, DataOutputStream)
 o stoprecording(String, DataOutputStream)
 o testPassward(String)

Variables

 o properties
 static VSProperties properties
 o application
 private static VideoServer application
the single instance of VideoServer class

 o RootPassword
 private String RootPassword
 o logFileName
 String logFileName
 o logOutputStream
 private PrintWriter logOutputStream
print all logging to stream

 o verboseLevel
 private int verboseLevel
 o channelRegistry
 protected ChannelRegistry channelRegistry
holds the list of all channels

 o connectionsThreadGroup
 private static ThreadGroup connectionsThreadGroup
all incoming connections goes into that group

Constructors

 o VideoServer
 public VideoServer()
constructor

Methods

 o main
 public static void main(String args[])
 o finalize
 protected synchronized void finalize() throws Throwable
Overrides:
finalize in class Object
 o testPassward
 protected synchronized boolean testPassward(String p)
 o startrecording
 protected void startrecording(String channel_id,
                               String database_name,
                               DataOutputStream outputstream) throws SyntaxException, IOException
 o stoprecording
 protected void stoprecording(String channel_id,
                              DataOutputStream outputstream) throws SyntaxException, IOException
 o log
 public void log(int level,
                 String msg)

All Packages  Class Hierarchy  This Package  Previous  Next  Index