<?php


namespace Mainto\RpcServer\Util\Net\Address;


use Mainto\RpcServer\Util\Net\Address;

class TcpAddress implements Address {
    private string $address;

    public function __construct (string $address) {
        $this->address = $address;
    }

    public function network (): string {
        return "tcp";
    }

    public function string (): string {
        return $this->address;
    }
}