public void unbind(SocketAddress address) {
if (address == null)
throw new NullPointerException("address");
VmPipe pipe;
synchronized (boundHandlers) {
if (!boundHandlers.containsKey(address)) {
throw new IllegalArgumentException("Address not bound: "
+ address);
}
pipe = boundHandlers.remove(address);
}
getListeners().fireServiceDeactivated(this, pipe.getAddress(),
pipe.getHandler(), pipe.getConfig());
}