Lines Matching refs:cmdsock
48 private Socket cmdsock = null;
597 return cmdsock.getLocalAddress();
727 cmdsock = new Socket(new PlainSocketImpl());
728 cmdsock.connect(new InetSocketAddress(server, serverPort));
729 cmdIn = cmdsock.getInputStream();
730 cmdOut = cmdsock.getOutputStream();
739 cmdsock = null;
749 if (server == null || cmdsock == null) {
758 cmdsock = new Socket(new PlainSocketImpl());
759 cmdsock.connect(new InetSocketAddress(server, serverPort));
760 cmdIn = cmdsock.getInputStream();
761 cmdOut = cmdsock.getOutputStream();
823 cmdsock.close();
908 cmdsock.close();
909 cmdsock = null;
926 if (cmdsock == null) {
999 cmdsock.close();
1000 cmdsock = null;
1015 psi.setFileDescriptor(cmdsock.getImpl().getFileDescriptor());
1016 psi.setAddress(cmdsock.getImpl().getInetAddress());
1017 psi.setPort(cmdsock.getImpl().getPort());
1018 psi.setLocalPort(cmdsock.getImpl().getLocalPort());
1020 s.fd = cmdsock.getImpl().fd;
1021 s.address = cmdsock.getImpl().address;
1022 s.port = cmdsock.getImpl().port;
1023 s.localport = cmdsock.getImpl().localport;
1030 cmdsock = null;
1074 if (cmdsock != null)
1075 cmdsock.close();
1076 cmdsock = null;