com.tinkerpop.rexster.protocol
Class RemoteRexsterSession

java.lang.Object
  extended by com.tinkerpop.rexster.protocol.RemoteRexsterSession

public class RemoteRexsterSession
extends Object

Client-side session with Rexster.


Constructor Summary
RemoteRexsterSession(String rexProHost, int rexProPort, int timeout, String username, String password)
           
RemoteRexsterSession(String rexProHost, int rexProPort, int timeout, String username, String password, byte channel)
           
RemoteRexsterSession(String rexProHost, int rexProPort, String username, String password)
           
 
Method Summary
 void close()
           
 Iterator<String> getAvailableLanguages()
           
 String getRexProHost()
           
 int getRexProPort()
           
 boolean isAvailableLanguage(String language)
           
 boolean isOpen()
           
 void open()
           
 void reset()
           
 RexProMessage sendRequest(RexProMessage request, int maxRetries)
           
 RexProMessage sendRequest(RexProMessage request, int maxRetries, int waitMsBetweenTries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteRexsterSession

public RemoteRexsterSession(String rexProHost,
                            int rexProPort,
                            String username,
                            String password)

RemoteRexsterSession

public RemoteRexsterSession(String rexProHost,
                            int rexProPort,
                            int timeout,
                            String username,
                            String password)

RemoteRexsterSession

public RemoteRexsterSession(String rexProHost,
                            int rexProPort,
                            int timeout,
                            String username,
                            String password,
                            byte channel)
Method Detail

open

public void open()

isOpen

public boolean isOpen()

getAvailableLanguages

public Iterator<String> getAvailableLanguages()

isAvailableLanguage

public boolean isAvailableLanguage(String language)

sendRequest

public RexProMessage sendRequest(RexProMessage request,
                                 int maxRetries)

sendRequest

public RexProMessage sendRequest(RexProMessage request,
                                 int maxRetries,
                                 int waitMsBetweenTries)

reset

public void reset()

close

public void close()

getRexProHost

public String getRexProHost()

getRexProPort

public int getRexProPort()


Copyright © 2009-2012. All Rights Reserved.