void IGatewaySync.Start()
{
_logger?.InfoFormat("Start (EndPoint={0})", _initiator.ListenEndPoint);
try
{
_tcpAcceptor = new TcpAcceptor();
_tcpAcceptor.Accepted += OnConnectionAccept;
_tcpAcceptor.Listen(_initiator.ListenEndPoint);
}
catch (Exception e)
{
_logger?.ErrorFormat("Start got exception.", e);
}
}