gcc/libjava/java/rmi/server
Norbert Frese f903e73b80 RMIIncomingThread.java: New file.
2004-03-20  Norbert Frese  <postfach@nfrese.net>

	* gnu/java/rmi/server/RMIIncomingThread.java: New file.
	* gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
	Create a new RMIObjectOuputStream/RMIObjectInputStream for every
	rmi-message.
	(getObjectInputStream): Return object reference, throw IOException if null.
	(startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
	(getObjectOutputStream): Return object reference, throw IOException if null.
	(startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
	* gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
	(UnicastConnectionManager): Throw RemoteException if port is not available.
	(getInstance): Throw RemoteException.
	(run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
	* gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
	Collect Exceptions which are returned by a rmi-call and fix void returns.
	* gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
	* gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
	(dispatch): Answer ping messages which are sent by other java implementions.
	(incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
	for every rmi-message and fix void return problems.
	* gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
	(UnicastServerRef): Throw RemoteException.
	(exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
	In some situations it is necessary to export a subclass of the class which has the _Stub.
	For instance when the class with has the _Stub is abstract.
	(findStubSkelClass): New method which looks for the class which has the _Stub.
	(getClientHost): Implementated.
	* gcc/libjava/java/rmi/server/RemoteServer.java
	(getClientHost): Implementated.
	* gcc/libjava/Makefile.am (rmi_java_source_files):
	Added gnu/java/rmi/server/RMIIncomingThread.java.
	* Makefile.in: Regenerated.

From-SVN: r79755
2004-03-20 20:30:56 +00:00
..
ExportException.java ActivateFailedException.java: Remerge from Classpath version. 2002-06-17 19:11:40 +00:00
LoaderHandler.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
LogStream.java 2003-03-31 Michael Koch <konqueror@gmx.de> 2003-03-31 06:49:33 +00:00
ObjID.java
Operation.java 2003-03-31 Michael Koch <konqueror@gmx.de> 2003-03-31 06:49:33 +00:00
RemoteCall.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
RemoteObject.java backport: MarshalledObject.java (equals): Check hashcode first. 2002-11-07 18:01:05 +00:00
RemoteRef.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
RemoteServer.java RMIIncomingThread.java: New file. 2004-03-20 20:30:56 +00:00
RemoteStub.java 2003-03-31 Michael Koch <konqueror@gmx.de> 2003-03-31 06:49:33 +00:00
RMIClassLoader.java Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
RMIClassLoaderSpi.java Makefile.in: Rebuilt. 2003-01-02 00:14:24 +00:00
RMIClientSocketFactory.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
RMIFailureHandler.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
RMIServerSocketFactory.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
RMISocketFactory.java 2003-03-21 Michael Koch <konqueror@gmx.de> 2003-03-21 09:00:29 +00:00
ServerCloneException.java ActivateFailedException.java: Remerge from Classpath version. 2002-06-17 19:11:40 +00:00
ServerNotActiveException.java ActivateFailedException.java: Remerge from Classpath version. 2002-06-17 19:11:40 +00:00
ServerRef.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
Skeleton.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00
SkeletonMismatchException.java ActivateFailedException.java: Remerge from Classpath version. 2002-06-17 19:11:40 +00:00
SkeletonNotFoundException.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 15:58:42 +00:00
SocketSecurityException.java ActivateFailedException.java: Remerge from Classpath version. 2002-06-17 19:11:40 +00:00
UID.java
UnicastRemoteObject.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 15:58:42 +00:00
Unreferenced.java ActivationInstantiator.java, [...]: Removed redundant modifiers. 2003-10-11 18:42:07 +00:00