public virtual void Transmit(TCPConnection connection, TCPOctetStream stream)
 {
     ThrowInvalidOperationException();
 }
Beispiel #2
0
 public override void ActiveOpen(TCPConnection connection)
 {
     // send SYN, receive SYN, ACK, etc.
     ChangeState(connection, new TCPEstablished());
 }
 protected void ChangeState(TCPConnection connection, TCPState state)
 {
     connection.ChangeState(state);
 }
 public virtual void Send(TCPConnection connection)
 {
     ThrowInvalidOperationException();
 }
 public virtual void Acknowledge(TCPConnection connection)
 {
     ThrowInvalidOperationException();
 }
 public virtual void Synchronize(TCPConnection connection)
 {
     ThrowInvalidOperationException();
 }
 public virtual void PassiveOpen(TCPConnection connection)
 {
     ThrowInvalidOperationException();
 }