net.rmi.rjs.pk.rmissl
Class RmiSSLImplementation
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
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
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 |
REMOTE_NAME
public static java.lang.String REMOTE_NAME
RmiSSLImplementation
public RmiSSLImplementation(int port)
throws java.rmi.RemoteException
- construct RMI SSL socket on given port
- Parameters:
port
- SSL port
- Throws:
java.rmi.RemoteException
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 namedata
- array of file bytswsAnwserURL
-
- 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