You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The declarations and the definitions of the sequence blocks of a sequence should match exactly. However, the code will still compile even though the declaration and definition of the first sequence block are different. Here is an example:
Handshake
Endpoint Client;
Endpoint Server;
Sequences {
HandshakeSeq: Client.start -> Server.hello -> Client.verify -> Server.complete;
}
Sequence HandshakeSeq (Number TLS, Number rand, List(element: Text) cipher, List(element: Text) compress) returns TrueFalse success {
Client.dontStart {
//the compiler does not see an error
}
Server.hello {
}
Client.verify {
}
Server.complete {
}
}
Client
{
//code
}
Server
{
//code
}
The text was updated successfully, but these errors were encountered:
The declarations and the definitions of the sequence blocks of a sequence should match exactly. However, the code will still compile even though the declaration and definition of the first sequence block are different. Here is an example:
The text was updated successfully, but these errors were encountered: