org.fabric3.binding.zeromq.runtime.broker.SpecifiedPort Maven / Gradle / Ivy
package org.fabric3.binding.zeromq.runtime.broker;
import org.fabric3.spi.host.Port;
/**
* An explicitly specified port.
*/
public class SpecifiedPort implements Port {
private static final long serialVersionUID = -2984002983614376302L;
private int number;
public SpecifiedPort(int number) {
this.number = number;
}
public String getName() {
return "zmq.remote";
}
public int getNumber() {
return number;
}
public void bind(TYPE type) {
// no-op
}
public void release() {
// no-op
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy