#######################################################
# 
# TCP Connection.py
# Python implementation of the Class TCPConnection
# Generated by Enterprise Architect
# Created on:      07-Dec-2021 12:27:58 PM
# Original author: natha
# 
#######################################################
from FreeTAKServer.model.Connection import Connection
from FreeTAKServer.model.Enumerations.connectionTypes import ConnectionTypes

from socket import socket

class TCPConnection(Connection):
    def __init__(self, tcp_socket: socket = None, ip: str = None, port: int = None, user_id: str = None):
        super().__init__(ip, port, user_id, ConnectionTypes.TCP)
        self.tcp_socket = tcp_socket