private MutableConfiguration getMutableConfiguration() throws MBeanException { return (MutableConfiguration) stack.getMetaData().getConfiguration(); }
protected static MutableConfiguration getMutableConfiguration() { return (MutableConfiguration) stack.getMetaData().getConfiguration(); }
protected static MutableConfiguration getMutableConfiguration() { return (MutableConfiguration) stack.getMetaData().getConfiguration(); }
private MutableConfiguration getMutableConfiguration() { return (MutableConfiguration) stack.getMetaData().getConfiguration(); }
private MutableConfiguration getMutableConfiguration() throws MBeanException { return (MutableConfiguration) stack.getMetaData().getConfiguration(); }
private EmptyConfiguration getPeerConfiguration(String name) { XMLConfiguration configuration = (XMLConfiguration) DiameterConfiguration.stack.getMetaData().getConfiguration(); Configuration[] peerTable = configuration.getChildren(PeerTable.ordinal()); for(Configuration curPeer : peerTable) { if(curPeer.getStringValue(PeerName.ordinal(), DEFAULT_STRING).equals(name)) { return (EmptyConfiguration) curPeer; } } return null; }
private EmptyConfiguration getPeerConfiguration(String name) { XMLConfiguration configuration = (XMLConfiguration) DiameterConfiguration.stack.getMetaData().getConfiguration(); Configuration[] peerTable = configuration.getChildren(PeerTable.ordinal()); for (Configuration curPeer : peerTable) { if (curPeer.getStringValue(PeerName.ordinal(), DEFAULT_STRING).equals(name)) { return (EmptyConfiguration) curPeer; } } return null; }
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as an app listener. this.diameterMux.registerListener(this, (ApplicationId[]) authApplicationIds.toArray(new ApplicationId[authApplicationIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); if (tracer.isInfoEnabled()) { tracer.info("Diameter S6a RA :: Successfully initialized stack."); } }
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as app listener. this.diameterMux.registerListener(this, (ApplicationId[]) authApplicationIds.toArray(new ApplicationId[authApplicationIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = this.stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); if(tracer.isInfoEnabled()) { tracer.info("Diameter CCA RA :: Successfully initialized stack."); } }
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as an app listener. this.diameterMux.registerListener(this, (ApplicationId[]) authApplicationIds.toArray(new ApplicationId[authApplicationIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); if(tracer.isInfoEnabled()) { tracer.info("Diameter Cx/Dx RA :: Successfully initialized stack."); } } private void initActivitiesMgmt() {
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as a Sh app listener. this.diameterMux.registerListener(this, (ApplicationId[]) authApplicationIds.toArray(new ApplicationId[authApplicationIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); if(tracer.isInfoEnabled()) { tracer.info("Diameter ShClient RA :: Successfully initialized stack."); } } private void initActivitiesMgmt()
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as app listener. List<ApplicationId> allAppIds = new ArrayList<ApplicationId>(); allAppIds.addAll(authApplicationIds); allAppIds.addAll(acctApplicationIds); this.diameterMux.registerListener( this, allAppIds.toArray(new ApplicationId[allAppIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); // Obtain parser and store it in AvpUtilities MessageParser parser = ((IContainer)stack).getAssemblerFacility().getComponentInstance(MessageParser.class); AvpUtilities.setParser(parser); AvpUtilities.setDictionary(stack.getDictionary()); if(tracer.isInfoEnabled()) { tracer.info("Diameter Base RA :: Successfully initialized stack."); } } private void initActivitiesMgmt() {
/** * Initializes the RA Diameter Stack. * * @throws Exception */ private synchronized void initStack() throws Exception { // Register in the Mux as app listener. List<ApplicationId> allAppIds = new ArrayList<ApplicationId>(); allAppIds.addAll(authApplicationIds); allAppIds.addAll(acctApplicationIds); this.diameterMux.registerListener( this, allAppIds.toArray(new ApplicationId[allAppIds.size()])); // Get the stack (should not mess with) this.stack = this.diameterMux.getStack(); this.messageTimeout = stack.getMetaData().getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) MessageTimeOut.defValue()); // Obtain parser and store it in AvpUtilities MessageParser parser = ((IContainer)stack).getAssemblerFacility().getComponentInstance(MessageParser.class); AvpUtilities.setParser(parser); AvpUtilities.setDictionary(stack.getDictionary()); if(tracer.isInfoEnabled()) { tracer.info("Diameter Base RA :: Successfully initialized stack."); } } private void initActivitiesMgmt() {
MutableConfiguration config = (MutableConfiguration) stack.getMetaData().getConfiguration();
MutableConfiguration config = (MutableConfiguration) stack.getMetaData().getConfiguration();