jrdesktop.server.rmi
Class Server

java.lang.Object
  extended by java.lang.Thread
      extended by jrdesktop.server.rmi.Server
All Implemented Interfaces:
java.lang.Runnable

public class Server
extends java.lang.Thread

Server.java


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static ClipbrdUtility clipbrdUtility
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Server()
           
 
Method Summary
static void AddObject(java.lang.Object object)
           
static int addViewer(java.net.InetAddress inetAddress, java.lang.String username, java.lang.String password)
           
static void disconnectAllViewers()
           
static void displayConnectionInfos(int index)
           
static void displayViewerProperties(int index)
           
static java.lang.String getStatus()
           
static java.util.ArrayList<java.net.InetAddress> getViewersAds()
           
static int getViewersCount()
           
static boolean isIdle()
           
static boolean isRunning()
           
static byte[] ReceiveFile(java.lang.String fileName, int index)
           
static int removeViewer(int index)
           
static int SendClipboardFileList()
           
static void SendFile(byte[] filedata, java.lang.String fileName, int index)
           
static void setUploadingFolder()
           
static void setViewerProperties(java.net.InetAddress inetAddress, java.util.Hashtable props)
           
static void Start()
           
static void Stop()
           
static void updateData(byte[] data, int index)
           
static byte[] updateData(int index)
           
static void updateOptions(java.lang.Object data, int index)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

clipbrdUtility

public static ClipbrdUtility clipbrdUtility
Constructor Detail

Server

public Server()
Method Detail

Start

public static void Start()

Stop

public static void Stop()

isRunning

public static boolean isRunning()

isIdle

public static boolean isIdle()

updateOptions

public static void updateOptions(java.lang.Object data,
                                 int index)

updateData

public static void updateData(byte[] data,
                              int index)

updateData

public static byte[] updateData(int index)

AddObject

public static void AddObject(java.lang.Object object)

addViewer

public static int addViewer(java.net.InetAddress inetAddress,
                            java.lang.String username,
                            java.lang.String password)

removeViewer

public static int removeViewer(int index)

disconnectAllViewers

public static void disconnectAllViewers()

ReceiveFile

public static byte[] ReceiveFile(java.lang.String fileName,
                                 int index)

SendFile

public static void SendFile(byte[] filedata,
                            java.lang.String fileName,
                            int index)

SendClipboardFileList

public static int SendClipboardFileList()

setUploadingFolder

public static void setUploadingFolder()

getViewersAds

public static java.util.ArrayList<java.net.InetAddress> getViewersAds()

getViewersCount

public static int getViewersCount()

displayViewerProperties

public static void displayViewerProperties(int index)

setViewerProperties

public static void setViewerProperties(java.net.InetAddress inetAddress,
                                       java.util.Hashtable props)

displayConnectionInfos

public static void displayConnectionInfos(int index)

getStatus

public static java.lang.String getStatus()