/** * Function called when the activator stops just before the cleanup done by * ComponentActivatorAbstractBase * */ @Override public void destroy() { Node.NodeIDType.unRegisterIDType("STUB"); NodeConnector.NodeConnectorIDType.unRegisterIDType("STUB"); }
/** * @return the Node */ public Node getnodeconnectorNode() { return this.nodeConnector.getNode(); }
@Override public String toString() { return type + "[" + port.toString() + "]"; } }
@Override protected void init() { // TODO: deprecated, should be removed soon NodeIDType.registerIDType(NodeMapping.MD_SAL_TYPE, String.class); NodeConnectorIDType.registerIDType(NodeMapping.MD_SAL_TYPE, String.class, NodeMapping.MD_SAL_TYPE); }
/** * Copy constructor * * @param h Host to copy values from * * @return constructed copy */ public Host(Host h) throws ConstructionException { if (h == null) { throw new ConstructionException("Passed null host"); } this.dataLayerAddress = h.getDataLayerAddress(); this.networkAddress = h.getNetworkAddress(); }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((port == null) ? 0 : port.hashCode()); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + tablesValue; return result; }
/** * @param nodeTableIDString the nodeTableIDString to set */ @SuppressWarnings("unused") private void setNodeTableIDString(String IDStr) { this.nodeTableIDString = IDStr; if (this.nodeTableType != null) { this.fillmeFromString(this.nodeTableType, IDStr); } }
/** * private setter to be used by JAXB * * @param nodeIDString String representation for NodeID */ @SuppressWarnings("unused") private void setNodeIDString(String nodeIDString) { this.nodeIDString = nodeIDString; if (this.nodeType != null) { this.fillmeFromString(this.nodeType, nodeIDString); } }
/** * Function called when the activator starts just after some initializations * are done by the ComponentActivatorAbstractBase. * */ @Override public void init() { Node.NodeIDType.registerIDType("STUB", Integer.class); NodeConnector.NodeConnectorIDType.registerIDType("STUB", Integer.class, "STUB"); }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + modeValue; return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + buffersValue; return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + tierValue; return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (int) (bandwidthValue ^ (bandwidthValue >>> 32)); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + (int) (latencyValue ^ (latencyValue >>> 32)); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + configValue; return result; }