/// <summary> /// Close existing connection /// </summary> public override void Close() { if (IsConnected) { Socket.Close(); // NOTE: Formatter factory will be recreated after current connection has been closed _formatterFactory = null; } }
public void SetFormatterFactory(IBinaryFormatterFactory factory) { _factory = factory; }
/// <summary> /// Close existing connection /// </summary> public override void Close() { if (IsConnected) { Socket.Close(); // NOTE: Formatter factory will be recreated after current connection has been closed _formatterFactory = null; } }
public void SetFormatterFactory(IBinaryFormatterFactory factory) { _factory = factory; }