connection_Setup.h 814 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * connection_Setup.h
  3. *
  4. * Created on: Nov 27, 2017
  5. * Author: anay
  6. */
  7. #ifndef CONNECTION_CONNECTION_SETUP_H_
  8. #define CONNECTION_CONNECTION_SETUP_H_
  9. #include <stdlib.h>
  10. #include <stdint.h>
  11. #include <string.h>
  12. #include <omnetpp.h>
  13. #include "Connection/connection.h"
  14. class connection_Setup {
  15. void sendVersionNegotiation();
  16. void receiveVersionNegotiation(Version_Negotiation *msg);
  17. void sendClientInitial();
  18. void receiveClientInitial(Client_Initial *msg);
  19. void sendClientCleartext();
  20. void receiveClientCleartext(Client_Cleartext *msg);
  21. void sendServerStatelessRetry();
  22. void receiveServerStatelessRetry(Server_Stateless_Retry *msg);
  23. void sendServerCleartext();
  24. void receiveServerCleartext(Server_Cleartext *msg);
  25. };
  26. #endif /* CONNECTION_CONNECTION_SETUP_H_ */