public void ConstructorNoParams() { var client = new RexProClient(); Assert.AreEqual("localhost", client.Host); Assert.AreEqual(8184, client.Port); }
public void ConstructorWithHost() { const string host = "127.0.0.1"; var client = new RexProClient(host); Assert.AreEqual(host, client.Host); Assert.AreEqual(8184, client.Port); }
public void ConstructorWithHostAndPort() { const string host = "127.0.0.1"; const int port = 8185; var client = new RexProClient(host, port); Assert.AreEqual(host, client.Host); Assert.AreEqual(port, client.Port); }
public void Initialize() { client = new RexProClient(Settings.Default.RexProHost, Settings.Default.RexProPort); }
internal RexProSession(RexProClient client, byte[] session) { this.client = client; this.session = session; }