+2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
+
+ * TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
+ timeout to channel constructor. it does not make sense.
+
2009-07-10 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
return null; // onclose
if (typeof (TChannel) == typeof (IDuplexSessionChannel))
- return (TChannel) (object) new TcpDuplexSessionChannel (this, info, client, timeout);
+ return (TChannel) (object) new TcpDuplexSessionChannel (this, info, client);
// FIXME: To implement more.
throw new NotImplementedException ();
TcpClient client;
bool is_service_side;
EndpointAddress local_address;
- TimeSpan timeout;
TcpBinaryFrameManager frame;
TcpDuplexSession session; // do not use this directly. Use Session instead.
this.info = info;
}
- public TcpDuplexSessionChannel (ChannelListenerBase listener, TcpChannelInfo info, TcpClient client, TimeSpan timeout)
+ public TcpDuplexSessionChannel (ChannelListenerBase listener, TcpChannelInfo info, TcpClient client)
: base (listener)
{
is_service_side = true;
this.client = client;
this.info = info;
- this.timeout = timeout;
}
public MessageEncoder Encoder {