com.tinkerpop.rexster.protocol.msg
Class ConsoleScriptResponseMessage

java.lang.Object
  extended by com.tinkerpop.rexster.protocol.msg.RexProMessage
      extended by com.tinkerpop.rexster.protocol.msg.ConsoleScriptResponseMessage

public class ConsoleScriptResponseMessage
extends RexProMessage


Field Summary
 byte[] Bindings
           
 String[] ConsoleLines
           
static byte FLAG_COMPLETE_MESSAGE
           
 
Fields inherited from class com.tinkerpop.rexster.protocol.msg.RexProMessage
EMPTY_SESSION, Flag, Request, Session, Version
 
Constructor Summary
ConsoleScriptResponseMessage()
           
 
Method Summary
 List<String> BindingsAsList()
           
 List<String> ConsoleLinesAsList()
           
static byte[] convertBindingsToByteArray(Bindings bindings)
           
static List<String> convertResultToConsoleLines(Object result)
           
 
Methods inherited from class com.tinkerpop.rexster.protocol.msg.RexProMessage
hasSession, requestAsUUID, sessionAsUUID, setRequestAsUUID, setSessionAsUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_COMPLETE_MESSAGE

public static final byte FLAG_COMPLETE_MESSAGE
See Also:
Constant Field Values

ConsoleLines

public String[] ConsoleLines

Bindings

public byte[] Bindings
Constructor Detail

ConsoleScriptResponseMessage

public ConsoleScriptResponseMessage()
Method Detail

ConsoleLinesAsList

public List<String> ConsoleLinesAsList()

BindingsAsList

public List<String> BindingsAsList()

convertBindingsToByteArray

public static byte[] convertBindingsToByteArray(Bindings bindings)
                                         throws IOException
Throws:
IOException

convertResultToConsoleLines

public static List<String> convertResultToConsoleLines(Object result)
                                                throws Exception
Throws:
Exception


Copyright © 2009-2012. All Rights Reserved.