GetConnection() public method

Gets the connection.
public GetConnection ( ConnectionTypes connectionType ) : IConnectionInformation
connectionType ConnectionTypes Type of the connection.
return IConnectionInformation
 public void Create_Default(string connection, string queue)
 {
     var test = new RedisQueueRpcConnection(connection, queue);
     test.GetConnection(ConnectionTypes.NotSpecified);
     test.GetConnection(ConnectionTypes.Receive);
     test.GetConnection(ConnectionTypes.Send);
 }