!ʏ-      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   parser support Toshio Ito <debug.ito@gmail.com>None )%Common data types for Request objects Toshio Ito <debug.ito@gmail.com>Nonegreskell-websocketA raw ' encoded to/decoded from a base64 text. instance encodes the raw  to a base64-encoded .  is its inverse.greskell-websocketPossible SASL mechanisms.greskell-websocket "PLAIN" SASLgreskell-websocket "GSSAPI" SASLgreskell-websocketClass of operation objects.greskell-websocket"processor" field.greskell-websocket "op" field. greskell-websocket "args" field.   Request to Gremlin Server Toshio Ito <debug.ito@gmail.com>None"6bgreskell-websocket)RequestMessage to a Gremlin Server. See  6http://tinkerpop.apache.org/docs/current/dev/provider/.greskell-websocket Convert an  object to .greskell-websocket Create a  from an  object. The < is generated by the random number generator of the system.    )Operation objects for session OpProcessor Toshio Ito <debug.ito@gmail.com>None"6b$%(&')*+./0,-12345678456783)*+./0,-12$%(&'*Operation objects for standard OpProcessor Toshio Ito <debug.ito@gmail.com>None"6b MNORSTPQUVWXY UVWXYMNORSTPQResponse from Gremlin Server Toshio Ito <debug.ito@gmail.com>None6, ggreskell-websocket1ResponseMessage object from Gremlin Server. See  6http://tinkerpop.apache.org/docs/current/dev/provider/.Type s" is the type of the response data.lgreskell-websocket"result" field.ngreskell-websocket "data" field.pgreskell-websocket"status" field.ugreskell-websocketResponse status codegreskell-websocketReturns  if the u is a terminating code.greskell-websocketReturns  if the u is a success.isSuccess SuccessTrueisSuccess UnauthorizedFalseisSuccess ServerErrorFalsegreskell-websocketReturns  if the u is a client-side failure.isClientSideError SuccessFalseisClientSideError UnauthorizedTrueisClientSideError ServerErrorFalsegreskell-websocketReturns  if the u is a server-side failure.isServerSideError SuccessFalseisServerSideError UnauthorizedFalseisServerSideError ServerErrorTrue ghijklmnopqsrtuv{wxyz|}~ ghijkpqsrtlmnouv{wxyz|}~#Encoder/decoder of Request/Response Toshio Ito <debug.ito@gmail.com>None8Vgreskell-websocket Encoder of  and decoder of g, associated with a MIME type.Type s is the body of Response.greskell-websocketMIME type sent to the servergreskell-websocketRequest encodergreskell-websocketResponse decodergreskell-websocketMake a request message header.greskell-websocket Encode a h into a "binary" format of Gremlin Server. The result includes the message "header" and the "payload".greskell-websocketNDecode a message in the "binary" format. This is mainly for testing purposes.greskell-websocket MIME typegreskell-websocket(mimeType, payload) common types for Connection Toshio Ito <debug.ito@gmail.com>NoneNgreskell-websocketException general to a ). It's not related to specific requests.greskell-websocketServer sends a g: with unknown requestId, which is kept in this exception.greskell-websocketThe U fails to parse a data from the server. The error message is kept in this exception.greskell-websocket+A WebSocket connection to a Gremlin Server.Type s is the body of Response, as in g.greskell-websocket!Request queue to WS (Mux) thread.greskell-websocket~WS (Mux) thread. It keeps the underlying WebSocket connection, watches various types of events and responds to those events.greskell-websocket State of the .greskell-websocket$Connection is open and ready to use.greskell-websocketConnection is closing. It rejects new requests, but keeps receiving responses for pending requests. When there is no pending requests, it goes to .greskell-websocketConnection is closed. It rejects requests, and it doesn't expect any responses. It can close the underlying WebSocket connection.greskell-websocketgPackage of request data and related stuff. It's passed from the caller thread into WS handling thread.greskell-websocketEncoded request datagreskell-websocket request IDgreskell-websocket8the output queue for incoming response for this request.greskell-websocket+Package of Response data and related stuff.application/json codec Toshio Ito <debug.ito@gmail.com>NoneR~greskell-websocket Simple "application/json" codec.VThe encoder uses GraphSON v1 format. The decoder supports all GraphSON v1, v2 and v3. Settings for making Connection Toshio Ito <debug.ito@gmail.com>Nonefgreskell-websocket) for making connection to Gremlin Server.You can get the default  by ; function, and customize its fields by accessor functions.Type s is the body of Response.greskell-websocketcodec for the connection.greskell-websocket3Path of the WebSocket endpoint. Default: "/gremlin"greskell-websocketAn exception handler for . This exception is not fatal, so the connection survives after this handler is called. You don't have to re-throw the exception. Default: print the exception to stderr.greskell-websocketTime out (in seconds) for responses. It is the maximum time for which the connection waits for a response to complete after it sends a request. If the response consists of more than one ResponseMessages, the timeout applies to the last of the ResponseMessages. Default: 60greskell-websocketMaximum concurrent requests the connection can make to the server. If the client tries to make more concurrent requests than this value, later requests are queued in the connection or the client may be blocked. Default: 4greskell-websocketaSize of the internal queue of requests. Usually you don't need to customize the field. See also . Default: 8.greskell-websocket with . Common utility Toshio Ito <debug.ito@gmail.com>Noneh4%internal implementation of Connection Toshio Ito <debug.ito@gmail.com>None"bgreskell-websocketA handle associated in a 7 for a pair of request and response. You can retrieve gs from this object.Type s is the body of the response.greskell-websocketMultiplexed event objectgreskell-websocketL(requestId of pending request) --> (objects related to that pending request)greskell-websocket"timer thread to time out response.greskell-websocket+An exception related to a specific request.greskell-websocket=The connection is already closed before it sends the request.greskell-websocketLThe server closed the connection before it sends response for this request.greskell-websocketJThe requestId (kept in this object) is already pending in the connection.greskell-websocket2The server fails to send ResponseMessages within .greskell-websocketTCP port number.greskell-websocketHost name or an IP address.greskell-websocketMake a  to a Gremlin Server.HIf it fails to connect to the specified server, it throws an exception.greskell-websocket Close the .%If there are pending requests in the , 3 function blocks for them to complete or time out.Calling  on a 4 already closed (or waiting to close) does nothing.greskell-websocket(A thread taking care of a WS connection.greskell-websocket/HashTable's mutateIO is available since 1.2.3.0greskell-websocketMultiplexer loop.greskell-websocketReceiver thread. It keeps receiving data from WS until the connection finishes cleanly. Basically every exception is raised to the caller.greskell-websocketMake a  from an  and send it.yUsually this function does not throw any exception. Exceptions about sending requests are reported when you operate on .greskell-websocketLike , but you can pass a  directly to this function.greskell-websocketGet a g from 5. If you have already got all responses, it returns %. This function may block for a new g to come.:On error, it may throw all sorts of exceptions including .greskell-websocket version of .greskell-websocketGet all remaining gs from .greskell-websocket Similar to ,, but this function discards the responses.greskell-websocketaction to create the new entry.greskell-websocket if insertion is successful..     &WebSocket Connection to Gremlin Server Toshio Ito <debug.ito@gmail.com>None Options to create a Client Toshio Ito <debug.ito@gmail.com>Nonegreskell-websocket<Configuration options to create a client for Gremlin Server.You can get the default  by ; function, and customize its fields by accessor functions.greskell-websocketSettings for the underlying  . Default: .greskell-websocket2"batchSize" field for "eval" operation. Default: .greskell-websocket1"language" field for "eval" operation. Default: .greskell-websocket/"aliases" field for "eval" operation. Default: .greskell-websocket@"scriptEvaluationTimeout" field for "eval" operation. Default: .Maintainer: Toshio Ito debug.ito@gmail.comNone"FTbgreskell-websocketException about " operation and getting its result.greskell-websocketThe server returns a g with error u.greskell-websocket3The client fails to parse the "data" field of the g#. The error message is kept in the  field.greskell-websocketRA handle to receive the result of evaluation of a Gremlin script from the server.greskell-websocketqA client that establishes a connection to the Gremlin Server. You can send Gremlin expression for evaluation by  function.greskell-websocket Create a ' to a Gremlin Server, with the default .greskell-websocket Create a  to a Gremlin Server.greskell-websocketGClose the connection to the server and release other resources of the .greskell-websocketCSubmit a Gremlin script to the server. You can get its results by . The result type v# is determined by the script type g.yUsually this function does not throw any exception. Exceptions about sending requests are reported when you operate on .greskell-websocketLess type-safe version of .greskell-websocketGet the next value from the *. If you have got all values, it returns 7. This function may block for a new response to come.:On error, it may throw all sorts of exceptions including  and E. For example, if the submitted Gremlin script throws an exception,  throws  with u of ~.greskell-websocket version of .greskell-websocketGet all remaining results from .greskell-websocket Similar to t, but this function discards the results. Useful to execute a script whose side-effect is the only thing you care.greskell-websocketGremlin scriptgreskell-websocketbindingsgreskell-websocketGremlin scriptgreskell-websocketbindings !"#$%&'()* &High-level interface to Gremlin Server Toshio Ito <debug.ito@gmail.com>None (Client of Gremlin Server using WebSocket Toshio Ito <debug.ito@gmail.com>None + !"#$%&'(()*+,-./012344567889:;<=>?@ABBCDEFGHIJKLMNOPQRSTUVWXY889:;<=>BBCDEFGHIJKOPQRSTUZZ[\]^^_`aabcdefghijklmnopqrstuvwxyz{|}~                         1greskell-websocket-0.1.1.2-83rZqGLrYySDCmmKK7O2dC)Network.Greskell.WebSocket.Request.Common"Network.Greskell.WebSocket.Request*Network.Greskell.WebSocket.Request.Session+Network.Greskell.WebSocket.Request.Standard#Network.Greskell.WebSocket.Response Network.Greskell.WebSocket.Codec%Network.Greskell.WebSocket.Connection%Network.Greskell.WebSocket.Codec.JSON.Network.Greskell.WebSocket.Connection.Settings)Network.Greskell.WebSocket.Client.Options!Network.Greskell.WebSocket.Client(Network.Greskell.WebSocket.Request.Aeson*Network.Greskell.WebSocket.Connection.TypeNetwork.Greskell.WebSocket.Util*Network.Greskell.WebSocket.Connection.Impl&Network.Greskell.WebSocket.Client.ImplNetwork.Greskell.WebSocketBase64unByte64 SASLMechanism SASLPlain SASLGSSAPI Operation opProcessoropNameopArgs$fOperationEither$fFromJSONSASLMechanism$fToJSONSASLMechanism$fFromJSONBase64$fToJSONBase64$fShowSASLMechanism$fEqSASLMechanism$fOrdSASLMechanism$fEnumSASLMechanism$fBoundedSASLMechanism $fShowBase64 $fEqBase64 $fOrdBase64RequestMessage$sel:requestId:RequestMessage$sel:op:RequestMessage$sel:processor:RequestMessage$sel:args:RequestMessagetoRequestMessagemakeRequestMessage$fFromJSONRequestMessage$fToJSONRequestMessage$fShowRequestMessage$fEqRequestMessage$fGenericRequestMessageOpClose$sel:batchSize:OpClose$sel:session:OpClose$sel:force:OpCloseOpEval$sel:batchSize:OpEval$sel:gremlin:OpEval$sel:bindings:OpEval$sel:language:OpEval$sel:aliases:OpEval#$sel:scriptEvaluationTimeout:OpEval$sel:session:OpEval$sel:manageTransaction:OpEval SessionIDOpAuthentication$sel:batchSize:OpAuthentication$sel:sasl:OpAuthentication#$sel:saslMechanism:OpAuthentication$fOperationOpAuthentication$fFromJSONOpAuthentication$fToJSONOpAuthentication$fOperationOpEval$fFromJSONOpEval$fToJSONOpEval$fOperationOpClose$fFromJSONOpClose$fToJSONOpClose$fShowOpAuthentication$fEqOpAuthentication$fOrdOpAuthentication$fGenericOpAuthentication $fShowOpEval $fEqOpEval$fGenericOpEval $fShowOpClose $fEqOpClose $fOrdOpClose$fGenericOpCloseResponseMessage requestIdstatusresultResponseResult resultDatametaResponseStatuscodemessage attributes ResponseCodeSuccess NoContentPartialContent Unauthorized AuthenticateMalformedRequestInvalidRequestArguments ServerErrorScriptEvaluationError ServerTimeoutServerSerializationError codeToInt codeFromInt isTerminating isSuccessisClientSideErrorisServerSideError$fToJSONResponseCode$fFromGraphSONResponseCode$fFromJSONResponseCode$fFromGraphSONResponseStatus$fFromJSONResponseStatus$fFunctorResponseResult$fFromGraphSONResponseResult$fFromJSONResponseResult$fFunctorResponseMessage$fFromGraphSONResponseMessage$fFromJSONResponseMessage$fShowResponseCode$fEqResponseCode$fOrdResponseCode$fEnumResponseCode$fBoundedResponseCode$fShowResponseStatus$fEqResponseStatus$fGenericResponseStatus$fShowResponseResult$fEqResponseResult$fGenericResponseResult$fShowResponseMessage$fEqResponseMessage$fGenericResponseMessageCodecmimeType encodeWith decodeWith messageHeaderencodeBinaryWith decodeBinary$fFunctorCodecGeneralExceptionUnexpectedRequestIdResponseParseFailure Connection jsonCodecSettingscodec endpointPathonGeneralExceptionresponseTimeout concurrencyrequestQueueSize defSettingsdefJSONSettingsResponseHandleRequestException AlreadyClosed ServerClosedDuplicateRequestIdResponseTimeoutPortHostconnectclose sendRequest sendRequest' nextResponsenextResponseSTMslurpResponsesdrainResponsesOptionsconnectionSettings batchSizelanguagealiasesscriptEvaluationTimeout defOptionsSubmitException ResponseError ParseError ResultHandleClient connectWithsubmit submitRaw nextResult nextResultSTM slurpResults drainResults$aeson-1.4.1.0-JaiCPnIg80cGqC9EfqkML4Data.Aeson.Types.ToJSONgenericToEncoding genericToJSONData.Aeson.Types.FromJSONgenericParseJSONopttoObjectbytestring-0.10.8.2Data.ByteString.Internal ByteStringToJSON text-1.2.3.0Data.Text.InternalTextFromJSONghc-prim GHC.TypesTrueconnQReq connWSThreadConnectionStateConnOpen ConnClosing ConnClosedReqPackreqDatareqId reqOutputResPack connState connCodecReqIDRawResRawReqslurpdrainMuxEventReqPool$sel:rpeTimer:ReqPoolEntry runWSConntryInsertToReqPool runMuxLoop runRxLoopbaseGHC.BaseNothing GHC.Conc.SyncSTM $sel:rhTerminated:ResponseHandle!$sel:rhGetResponse:ResponseHandleEvResponseTimeout EvRxError EvRxFinish EvActiveCloseEvResEvReq ReqPoolEntry$sel:rpeReqId:ReqPoolEntry$sel:rpeOutput:ReqPoolEntryPath flushTBQueuereportToReqPool reportToQReqcleanupReqPoolEntryremoveReqPoolEntrycleanupReqPoolgetAllResponseTimersrunTimerisTerminatingResponseString$sel:rhState:ResultHandle#$sel:rhNextResultIndex:ResultHandle$sel:rhResultCache:ResultHandle$sel:rhParseGValue:ResultHandle$sel:rhResHandle:ResultHandle HandleState HandleError HandleClose HandleOpen$sel:clientConn:Client$sel:clientOpts:Client submitBasegetNextCachedResult loadResponse