28 |
|
//---CONSTRUCTORS--- |
29 |
|
|
30 |
|
/** |
31 |
< |
* Creates a new Filter. |
31 |
> |
* Creates a new FilterServant. |
32 |
|
* |
33 |
< |
* @param logger a Logger to use |
33 |
> |
* @param TCPListenPort the TCP port this filter is listening on |
34 |
> |
* @param UDPListenPort the UDP port this filter is listening on |
35 |
> |
* @param queue the Queue this filter is using |
36 |
|
*/ |
37 |
|
public FilterServant(int TCPListenPort, int UDPListenPort, Queue queue) { |
38 |
|
_TCPListenPort = TCPListenPort; |
45 |
|
/** |
46 |
|
* Method to receive a string over corba. |
47 |
|
* |
48 |
< |
* @param xml the String of XML to print out |
48 |
> |
* @param xml the String of XML to queue |
49 |
|
*/ |
50 |
|
public void receiveXML(String xml) { |
51 |
|
_queue.add(xml); |