#!/usr/bin/env ruby
# -*- coding: binary -*-
module Rex
module Post
###
#
# This class provides generalized methods for interacting with a thread
# running in a process on a remote machine via a post-exploitation client.
class Thread
# Suspend the remote thread.
def suspend
raise NotImplementedError
end
# Resume execution of the remote thread.
def resume
# Terminate the remote thread.
def terminate
# Query architecture-specific register state.
def query_regs
# Set architecture-specific register state.
def set_regs
# Close resources associated with the thread.
def close
end; end