public class KeyDataResponse extends WireOutputSends back information regarding the current connection (identifier and secret) as part of start-up. Used for cancel statements.
Constructors
KeyDataResponse(DataOutputStream output, int processId, int secretKey)
public KeyDataResponse(DataOutputStream output, int processId, int secretKey)| Name | Description | 
output | 
        DataOutputStream | 
      
processId | 
        int | 
      
secretKey | 
        int | 
      
Methods
getIdentifier()
public byte getIdentifier()Override this to specify the byte which represents the protocol for the specific message. Used for logging and by send.
| Type | Description | 
byte | 
        
getMessageName()
protected String getMessageName()Used for logging.
| Type | Description | 
String | 
        
getPayloadString()
protected String getPayloadString()Used for logging.
| Type | Description | 
String | 
        
sendPayload()
public void sendPayload()Override this method to include post-processing and metadata in the sending process. Template method for send.
| Type | Description | 
IOException |