jrdesktop.server.rmi
Class ServerImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by jrdesktop.server.rmi.ServerImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, ServerInterface

public class ServerImpl
extends java.rmi.server.UnicastRemoteObject
implements ServerInterface

ServerImpl.java

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerImpl()
           
ServerImpl(java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf)
           
 
Method Summary
 byte[] ReceiveFile(java.lang.String fileName, int index)
           
 void SendFile(byte[] filedata, java.lang.String fileName, int index)
           
 int startViewer(java.net.InetAddress inetAddress, java.lang.String username, java.lang.String password)
           
 void stopViewer(int index)
           
 void updateData(byte[] data, int index)
           
 byte[] updateData(int index)
           
 void updateOptions(java.lang.Object data, int index)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerImpl

public ServerImpl()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

ServerImpl

public ServerImpl(java.rmi.server.RMIClientSocketFactory csf,
                  java.rmi.server.RMIServerSocketFactory ssf)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

startViewer

public int startViewer(java.net.InetAddress inetAddress,
                       java.lang.String username,
                       java.lang.String password)
                throws java.rmi.RemoteException
Specified by:
startViewer in interface ServerInterface
Throws:
java.rmi.RemoteException

stopViewer

public void stopViewer(int index)
                throws java.rmi.RemoteException
Specified by:
stopViewer in interface ServerInterface
Throws:
java.rmi.RemoteException

updateOptions

public void updateOptions(java.lang.Object data,
                          int index)
Specified by:
updateOptions in interface ServerInterface

updateData

public void updateData(byte[] data,
                       int index)
Specified by:
updateData in interface ServerInterface

updateData

public byte[] updateData(int index)
Specified by:
updateData in interface ServerInterface

ReceiveFile

public byte[] ReceiveFile(java.lang.String fileName,
                          int index)
Specified by:
ReceiveFile in interface ServerInterface

SendFile

public void SendFile(byte[] filedata,
                     java.lang.String fileName,
                     int index)
Specified by:
SendFile in interface ServerInterface