3 #include "SS_State_ERROR.h"
4 #include "SS_State_DONE.h"
8 TeraSS_State_ERROR::service (JAWS_Event_Completer
*ec
, void *data
)
10 // Send an error message.
11 TeraSS_Data
*tdata
= (TeraSS_Data
*) data
;
13 tdata
->mb ().reset ();
14 tdata
->mb ().copy ("FAIL\r\n", 6);
16 JAWS_IO::instance ()->send ( tdata
->peer ().get_handle ()
25 TeraSS_State_ERROR::transition (const JAWS_Event_Result
&, void *, void *)
27 // In the ERROR state, always transition to DONE.
29 return TeraSS_State_DONE::instance ();