/** * Returns a socket bound to a given path. This method returns an Object. Callers have * responsibility to cast it to Slave.Socket. */ public Object getUnixDomainSocket(NormalizedPath path) throws UnixException { return mLocalBoundSockets.get(path); }
public void unlinkUnixDomainNode(NormalizedPath path) throws UnixException { mLocalBoundSockets.unlink(path); }
/** * Binds a Unix domain socket to a path. This method handles a socket as an Object instance, * because I dislike disclosing the Slave.Socket class. */ public void bindSocket(NormalizedPath path, Object socket) throws UnixException { mLocalBoundSockets.bind(path, socket); }