Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 public void unlinkUnixDomainNode(NormalizedPath path) throws UnixException {
   mLocalBoundSockets.unlink(path);
 }
Пример #3
0
 /**
  * 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);
 }