setHandler(new DiameterContext());
}
public Node(int port) throws IOException
{
setHandler(new DiameterContext());
DiameterSocketConnector connector = new DiameterSocketConnector();
connector.setHost(InetAddress.getLocalHost().getHostAddress());
connector.setMessageListener(new BasicMessageLog());
connector.setPort(port);
setConnectors(new DiameterConnector[] {connector});