def op(self, arg: core.DStr) -> None: return self.operate( core.Operation( "core", "Box", core.opTuple("op", [arg]) ) )
def query(self, arg: core.DStr) -> core.DStr: return self.operate( core.Operation( "core", "Box", core.opTuple("query", [arg]) ) )
def is_open(self) -> core.DBool: return self.operate( core.Operation( "core", "Box", core.opTuple("is_open", []) ) )
def trivialOP() -> core.Operation: return core.Operation("S", "D", dtyp.opTuple("OP", "ARG"))
def put(self, candy: str) -> core.DNone: arg = core.DStr(candy) return self.operate( core.Operation("core", "Box", core.opTuple("put", [arg])))
def get(self) -> core.DStr: return self.operate( core.Operation("core", "Box", core.opTuple("get", [])))
def close(self) -> core.DNone: return self.operate( core.Operation("core", "Box", core.opTuple("close", [])))
def open(self) -> core.DNone: return self.operate( core.Operation("core", "Box", core.opTuple("open", [])))
def startup(self) -> core.Operation: return core.Operation("core", "ND", core.opTuple("startup", None))
def send(self, package: bytes, port: int) -> core.Operation: return core.Operation("core", "ND", core.opTuple("send", [package, port]))
def shutdown(self) -> core.Operation: return core.Operation("core", "ND", core.opTuple("shutdown", None))