public class MatrixOps extends net.cnri.knowbots.lib.Knowbot implements DOOperation
| Constructor and Description |
|---|
MatrixOps() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleOperation(DOOperationContext context)
Returns true iff this object can perform the given operation on
behalf of the caller on the given object.
|
void |
executeInContext() |
java.lang.String[] |
listOperations(DOOperationContext context)
Returns the list of operations that this knowbot can perform in the given
context.
|
void |
performOperation(DOOperationContext context,
java.io.InputStream in,
java.io.OutputStream out)
Performs the given operation (which this object has advertised that it
can handle) which consists of reading input (if any is expected) from the
given InputStream and writing the output of the operation (if any) to the
OutputStream.
|
public boolean canHandleOperation(DOOperationContext context)
DOOperationcanHandleOperation in interface DOOperationpublic void executeInContext()
executeInContext in class net.cnri.knowbots.lib.Knowbotpublic java.lang.String[] listOperations(DOOperationContext context)
listOperations in interface DOOperationDOOperation.listOperations(net.cnri.dobj.DOOperationContext)public void performOperation(DOOperationContext context, java.io.InputStream in, java.io.OutputStream out)
DOOperationperformOperation in interface DOOperation