net.rmi.rjs.pk.rmissl
Class RmiSSLImplementation

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by net.rmi.rjs.pk.rmissl.RmiSSLImplementation
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RmiSslInterface

public class RmiSSLImplementation
extends java.rmi.server.UnicastRemoteObject
implements RmiSslInterface

Created by IntelliJ IDEA. User: pkrepszt Date: Jun 4, 2005 Time: 12:30:50 PM To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Field Summary
static java.lang.String REMOTE_NAME
           
 
Constructor Summary
RmiSSLImplementation(int port)
          construct RMI SSL socket on given port
 
Method Summary
 java.lang.String[] getJobsJnlp()
          Gets a jobs from web server
 java.lang.String printInfo()
          test method
 void putFile(java.lang.String fileName, byte[] data, java.lang.String wsAnwserURL)
          Upload answer jar to WS
 
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
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REMOTE_NAME

public static java.lang.String REMOTE_NAME
Constructor Detail

RmiSSLImplementation

public RmiSSLImplementation(int port)
                     throws java.rmi.RemoteException
construct RMI SSL socket on given port

Parameters:
port - SSL port
Throws:
java.rmi.RemoteException
Method Detail

printInfo

public java.lang.String printInfo()
                           throws java.rmi.RemoteException
test method

Specified by:
printInfo in interface RmiSslInterface
Returns:
string + date time
Throws:
java.rmi.RemoteException

putFile

public void putFile(java.lang.String fileName,
                    byte[] data,
                    java.lang.String wsAnwserURL)
             throws java.rmi.RemoteException
Upload answer jar to WS

Specified by:
putFile in interface RmiSslInterface
Parameters:
fileName - answer jar name
data - array of file byts
wsAnwserURL -
Throws:
java.rmi.RemoteException

getJobsJnlp

public java.lang.String[] getJobsJnlp()
                               throws java.rmi.RemoteException
Gets a jobs from web server

Specified by:
getJobsJnlp in interface RmiSslInterface
Returns:
returns a array of jnlp jobs
Throws:
java.rmi.RemoteException