Commit Graph
32 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza b5da7cd80d [System.Runtime.Remoting] Build if DBEUG Is defined 2014-05-25 00:41:55 -04:00
QuickJack 8037341228 Fixes some warnings in System.Runtime.Remoting.dll 2011-12-29 13:14:50 +01:00
Gert Driesen 36e65ff2e6 * System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.

svn path=/trunk/mcs/; revision=110042
2008-08-09 14:06:44 +00:00
Robert Jordan a8907b2e98 2006-01-09 Robert Jordan <[email protected]>
* TcpServerChannel.cs (ProcessMessages): Flush the stream only when
	necessary (TcpServerTransportSink.InternalProcessMessage does it anyway),
	otherwise pending OneWay & async messages are lost.
	* TcpMessageIO.cs (SendMessageStream): Mark OneWay messages as such.
	Fixes MS.NET interoperability.
	* TcpClientTransportSink.cs (AsyncProcessRequest):
	Use the new TcpMessageIO.SendMessageStream overload to mark OneWay
	requests. Fixes bug #80406.


svn path=/trunk/mcs/; revision=70685
2007-01-09 00:22:40 +00:00
Lluis Sanchez 83e2dc7d21 2007-01-08 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
	  the constructor of TcpServerChannel.


svn path=/trunk/mcs/; revision=70646
2007-01-08 12:53:01 +00:00
Lluis Sanchez 43225842e2 2006-09-15 Lluis Sanchez Gual <[email protected]>
* TcpServerTransportSink.cs, TcpServerChannel.cs: 
	When sending an async call response, don't use the original request
	stream because it may have been used by another call.


svn path=/trunk/mcs/; revision=65442
2006-09-15 09:54:54 +00:00
Gert Driesen bd3d46162c * TcpClientChannel.cs: Marked CreateMessageSink virtual.
* TcpServerChannel.cs: Marked GetUrlsForUri virtual.

svn path=/trunk/mcs/; revision=61304
2006-05-31 09:13:12 +00:00
Gert Driesen 5c3bb4c9c2 * TcpClientChannel.cs: Set eol-style to native.
* TcpChannel.cs: Fixed line endings. Set eol-style to native.
* TcpServerTransportSink.cs: Fixed line endings. Set eol-style to
native.
* TcpConnectionPool.cs: Fixed line endings. Set eol-style to CRLF.
* TcpClientTransportSinkProvider.cs: Fixed line endings. Set eol-style
to native.
* TcpMessageIO.cs: Set eol-style to native.
* TcpServerChannel.cs: Fixed line endings. Set eol-style to native.
* TcpClientTransportSink.cs: Fixed line endings. Set eol-style to
native.

svn path=/trunk/mcs/; revision=61302
2006-05-31 08:46:36 +00:00
Lluis Sanchez e838fca27d 2005-11-08 Lluis Sanchez Gual <[email protected]>
* TcpServerChannel.cs: Fix null ref exception.

	* TcpServerChannel.cs, TcpConnectionPool.cs: only TARGET_JVM changes


svn path=/trunk/mcs/; revision=52675
2005-11-08 01:30:42 +00:00
Svetlana Zholkovsky 2fa7f22e61 Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln; Some TARGET_JVM changes
svn path=/trunk/mcs/; revision=52622
2005-11-06 11:08:53 +00:00
Lluis Sanchez fce714f95c 2005-05-31 Lluis Sanchez Gual <[email protected]>
* TcpServerChannel.cs: Use IP address in object uris by default.
	Fixes bug #54234. Removed unused field.
	* TcpClientTransportSink.cs: Fix warning.


svn path=/trunk/mcs/; revision=45241
2005-05-31 08:30:34 +00:00
Lluis Sanchez 3f543b7841 2005-05-18 Lluis Sanchez Gual <[email protected]>
* TcpServerChannel.cs: In StopListening, wait for the server thread
	to stop before returning. This fixes bug #74962.


svn path=/trunk/mcs/; revision=44686
2005-05-18 15:45:28 +00:00
Lluis Sanchez c71cfa5d74 2005-01-25 Lluis Sanchez Gual <[email protected]>
* TcpServerTransportSink.cs: Set IPAddress and ConnectionId
	transport headers. This fixes bug #71423.
	* TcpServerChannel.cs: Use Socket instead of TcpClient, so we can
	easily get the IP address of the client. Added properties in
	ClientConnection to get the IP address and the connection id.


svn path=/trunk/mcs/; revision=39524
2005-01-25 19:18:16 +00:00
Lluis Sanchez 2d43636c27 2005-01-21 Lluis Sanchez Gual <[email protected]>
* TcpMessageIO.cs: Added a buffer parameter to ReceiveMessageStatus,
	to avoid creating unneded buffers.
	* TcpServerChannel.cs, TcpClientTransportSink.cs: Use new buffer
	parameter in ReceiveMessageStatus.


svn path=/trunk/mcs/; revision=39323
2005-01-21 18:12:51 +00:00
Lluis Sanchez c7a8eadb97 2005-01-14 Lluis Sanchez Gual <[email protected]>
* TcpConnectionPool.cs: Don't limit client connections.
	This fixes bug #70700. Create connections from outside the pool lock.
	* TcpMessageIO.cs: Throw real exceptions when errors occur.
	* TcpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
	This also fixes bug #70700.


svn path=/trunk/mcs/; revision=38948
2005-01-14 17:29:18 +00:00
Lluis Sanchez 08b509b1a7 2004-12-10 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs: Don't use regular expressions to parse the url, it's
	too slow.
	* TcpMessageIO.cs: Read byte chunks using the new StreamRead method,
	which won't block if the connection is closed.
	* TcpServerChannel.cs: Flush the stream after writing the response.
	Wrap the close call in a try/catch (some bytes can be left in the
	buffered stream if a connection is suddently closed, and it will fail
	when trying to flush them).


svn path=/trunk/mcs/; revision=37564
2004-12-10 11:37:16 +00:00
Lluis Sanchez 0456111a22 2004-12-09 Lluis Sanchez Gual <[email protected]>
* TcpConnectionPool.cs: Access the socket stream through a
	BufferedStream.
	* TcpMessageIO.cs: Avoid ReadByte().
	* TcpServerChannel.cs: Access the socket stream through a
	BufferedStream. Abort the connection if an unknown message is received.
	All this fixes performance bug #70337.


svn path=/trunk/mcs/; revision=37520
2004-12-09 20:47:05 +00:00
Lluis Sanchez 3cafdf69c5 * TcpServerChannel.cs: Set channel name from the provided properties.
This fixes bug #61592.

svn path=/trunk/mcs/; revision=31169
2004-07-15 09:30:22 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Lluis Sanchez cd1b661f88 * TcpServerChannel.cs: In the ProcessMessages() loop, moved the closing of
the stream to the finally block, so it is called if the thread is aborted.

svn path=/trunk/mcs/; revision=23714
2004-03-05 00:24:03 +00:00
Lluis Sanchez 98e57017d6 * TcpServerChannel.cs: If useIpAddress and bindAddress are both specified,
set bindAddress as the host address for the client.

svn path=/trunk/mcs/; revision=21448
2003-12-23 15:14:45 +00:00
Lluis Sanchez aee50cfe80 TcpServerChannel.cs: Fixes in channel initialization.
svn path=/trunk/mcs/; revision=21353
2003-12-19 17:44:37 +00:00
Lluis Sanchez 94b17b6181 * TcpClientChannel.cs: Added support for name and priority properties.
* TcpServerChannel.cs: Added support for priority, bindTo, useIpAddress,
	  machineName and supressChannelData properties.
	* TcpChannel.cs, TcpServerTransportSink.cs: Formatting change.

svn path=/trunk/mcs/; revision=20076
2003-11-16 21:56:48 +00:00
Lluis Sanchez bb787ad8e0 * TcpServerChannel.cs: Remove listener initialization and StartListening
call from constructor. It is called now by the remoting framework.
	* TcpConnectionPool.cs: Removed fixme.

svn path=/trunk/mcs/; revision=19890
2003-11-12 15:43:12 +00:00
Lluis Sanchez 3dc6ac7df6 * TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
	  some channel properties.

svn path=/trunk/mcs/; revision=14060
2003-04-27 20:15:54 +00:00
Alvaro del Castillo fe14fa4e67 2003-02-05 Alvaro del Castillo <[email protected]>
* System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:
        * System.Runtime.Remoting.Channels.Tcp/TcpMessageIO.cs:
        * System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:
        Change MessageType to MessageStatus so the code is
        more clear

svn path=/trunk/mcs/; revision=11254
2003-02-05 22:00:42 +00:00
Lluis Sanchez 856d3d578e * TcpServerChannel.cs: Changed management of listener threads.
* TcpConnectionPool.cs: Add shutdown method.
* TcpChannel.cs: Corrected shutdown method.

svn path=/trunk/mcs/; revision=10939
2003-01-27 10:49:16 +00:00
Lluis Sanchez 913fe3e70b * TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
* TcpMessageIO.cs: warning corrected.
* TcpConnectionPool.cs: changed default value of MaxOpenConnections.
* TcpClientTransportSink.cs: implemented support for one way calls.
* TcpClientChannel.cs: Changed default formatter sink to BinaryFormatterSink.
* TcpChannel.cs: corrected Parse method. Now can parse channel uris.
* BinaryServerFormatterSink.cs: Implemented.
* BinaryClientFormatterSink.cs: Implemented.

svn path=/trunk/mcs/; revision=10925
2003-01-26 18:11:18 +00:00
Lluis Sanchez 0792fc1a6d no message
svn path=/trunk/mcs/; revision=9963
2002-12-29 12:36:37 +00:00
Dietmar Maurer 2e4f40e23d channel example implementation
svn path=/trunk/mcs/; revision=7151
2002-08-30 14:01:21 +00:00
Dietmar Maurer 2634b55731 more tcp channel code, renamed soap namespace to Soap
svn path=/trunk/mcs/; revision=6990
2002-08-24 10:39:22 +00:00