fccsc.manager
Interface IMessage

All Known Implementing Classes:
Process

public interface IMessage


Method Summary
 java.lang.String getCallBackIpAddress()
          Returns the "call back" ip address.
 int getCallBackIpPort()
          Returns the "call back" ip port.
 java.lang.String getRequest()
          Returns the request data that was sent to this process.
 java.lang.String getResponse()
          Returns the response message that this process needs to send back.
 void process()
          Process this message.
 void setCallBackIpAddress(java.lang.String p_ipAddress)
          Sets the "call back" ip address.
 void setCallBackIpPort(int p_ipPort)
          Sets the "call back" ip port.
 void setRequest(java.lang.String p_data)
          Sets the incoming data to process.
 void setResponse(java.lang.String p_data)
          Sets the outgoing response data.
 

Method Detail

setRequest

public void setRequest(java.lang.String p_data)
                throws java.lang.Exception
Sets the incoming data to process.

Parameters:
p_data - the data to be processed.
java.lang.Exception

getRequest

public java.lang.String getRequest()
                            throws java.lang.Exception
Returns the request data that was sent to this process.

Returns:
the request data.
java.lang.Exception

setResponse

public void setResponse(java.lang.String p_data)
                 throws java.lang.Exception
Sets the outgoing response data.

Parameters:
p_data - the response data.
java.lang.Exception

getResponse

public java.lang.String getResponse()
                             throws java.lang.Exception
Returns the response message that this process needs to send back.

Returns:
response message.
java.lang.Exception

process

public void process()
             throws java.lang.Exception
Process this message.

java.lang.Exception

getCallBackIpAddress

public java.lang.String getCallBackIpAddress()
Returns the "call back" ip address.

Returns:
a string representation of an ip address (xxx.xxx.xxx.xxx).

setCallBackIpAddress

public void setCallBackIpAddress(java.lang.String p_ipAddress)
Sets the "call back" ip address.

Parameters:
p_ipAddress - a string representation of an ip address (xxx.xxx.xxx.xxx).

getCallBackIpPort

public int getCallBackIpPort()
Returns the "call back" ip port.

Returns:
an integer.

setCallBackIpPort

public void setCallBackIpPort(int p_ipPort)
Sets the "call back" ip port.

Parameters:
p_ipPort - the ip port.