SocketBuilder constructor
- SocketInfo initial
Creates a view model to modify the given SocketInfo.
Implementation
SocketBuilder(SocketInfo initial) :
address = AddressBuilder(initial.address),
port = NumberBuilder<int>(initial.port)
{
address.addListener(notifyListeners);
port.addListener(notifyListeners);
}