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