Subversion Repositories oidplus

Rev

Rev 1130 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1130 Rev 1132
Line 1099... Line 1099...
1099
                if (trim($oid) === 'bye') return null;
1099
                if (trim($oid) === 'bye') return null;
1100
                return $this->spp_reader_avail($oid);
1100
                return $this->spp_reader_avail($oid);
1101
        }
1101
        }
1102
 
1102
 
1103
        public function disconnect() {
1103
        public function disconnect() {
1104
                return $this->spp_reader_uninit();
1104
                $this->spp_reader_uninit();
1105
        }
1105
        }
1106
 
1106
 
1107
        public function connect() {
1107
        public function connect() {
1108
                return $this->spp_reader_init();
1108
                $this->spp_reader_init();
1109
        }
1109
        }
1110
 
1110
 
1111
        function __construct($addr='localhost:49500') {
1111
        function __construct($addr='localhost:49500') {
1112
                $this->addr = $addr;
1112
                $this->addr = $addr;
1113
        }
1113
        }