package com.boundary.sdk;

/**
 * Abstract class for common properties for UDP route builders.
 * 
 * @author davidg
 *
 */
public abstract class UDPRouteBuilder extends BoundaryRouteBuilder {
	
	protected int port;

	public UDPRouteBuilder() {
	}
	
	/**
	 * Sets the port to listen for forwarded syslog messages
	 * 
	 * @param port
	 */
	public void setPort(int port) {
		this.port = port;
	}
	
	/**
	 * 
	 * @return int returns the port configured by this {@link BoundaryRouteBuilder}
	 */
	public int getPort() {
		return this.port;
	}
}

@@ -208,16 +208,40 @@
 nt port;
+%0A%09protected String host;
 %0A%0A%09publi
@@ -308,24 +308,14 @@
 for 
-forwarded syslog
+socket
  mes
@@ -405,24 +405,66 @@
 ;%0A%09%7D%0A%09%0A%09/**%0A
+%09 * Gets the port for this route builder.%0A
 %09 * %0A%09 * @re
@@ -566,16 +566,16 @@
 ort() %7B%0A
-
 %09%09return
@@ -589,10 +589,239 @@
 ort;%0A%09%7D%0A
+%09%0A%09/**%0A%09 * Sets the host to contact%0A%09 * %0A%09 * @param host%0A%09 */%0A%09public void setHost(String host) %7B%0A%09%09this.host = host;%0A%09%7D%0A%09%0A%09/**%0A%09 * Gets the host used by this route builder.%0A%09 */%0A%09public String getHost() %7B%0A%09%09return this.host;%0A%09%7D%0A
 %7D%0A

Add host property