public class NumberCruncherServer extends java.rmi.server.UnicastRemoteObject implements NumberCruncher
| Constructor and Description |
|---|
NumberCruncherServer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delay(int millis) |
int[] |
factor(int number)
Factor a positive integer
number and return its
distinct factor's as an integer array. |
static void |
main(java.lang.String[] args) |
clone, exportObject, exportObject, exportObject, unexportObjectpublic NumberCruncherServer()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic int[] factor(int number)
throws java.rmi.RemoteException
NumberCrunchernumber and return its
distinct factor's as an integer array.factor in interface NumberCruncherjava.rmi.RemoteExceptionpublic static void delay(int millis)
public static void main(java.lang.String[] args)
Copyright © 1999-2017 QOS.ch. All rights reserved