edu.unh.sdb.datasource
Class DataSourceServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
edu.unh.sdb.datasource.DataSourceServer
- All Implemented Interfaces:
- Server, java.io.Serializable, java.rmi.Remote
public class DataSourceServer
- extends java.rmi.server.UnicastRemoteObject
- implements Server
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
static void |
main(java.lang.String[] args)
|
int |
setDataSource(java.lang.String xmlFileName,
java.lang.String dsName)
reset and allocate i/o buffer |
void |
subblock(ISBounds srcBounds)
|
int |
sum(int a,
int b)
read an array of bytes from the remote file server |
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 |
sum
public int sum(int a,
int b)
throws java.rmi.RemoteException
- Description copied from interface:
Server
- read an array of bytes from the remote file server
- Specified by:
sum
in interface Server
- Throws:
java.rmi.RemoteException
setDataSource
public int setDataSource(java.lang.String xmlFileName,
java.lang.String dsName)
throws java.rmi.RemoteException
- reset and allocate i/o buffer
- Specified by:
setDataSource
in interface Server
- Throws:
java.rmi.RemoteException
subblock
public void subblock(ISBounds srcBounds)
throws java.rmi.RemoteException
- Specified by:
subblock
in interface Server
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] args)