SocketClass: SocketClass

SocketClassR Documentation

SocketClass

Description

All methods that are used by BasexClient and QueryClass

Methods

Public methods


Method new()

Initialize a new socket

Usage
SocketClass$new(host, port = 1984L, username, password)
Arguments
host, port, username, password

Host-information and credentials


Method finalize()

When releasing the session-object, close the socketConnection

Usage
SocketClass$finalize()

Method handShake()

Send input to the socket and return the response

Usage
SocketClass$handShake(input)
Arguments
input

Input

Details

Input is a raw vector, built up by converting all input to raw and concatenating the results


Method write_Byte()

Write 1 byte to the socket

Usage
SocketClass$write_Byte(Byte)
Arguments
Byte

A vector length 1


Method clone()

The objects of this class are cloneable with this method.

Usage
SocketClass$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


RBaseX documentation built on Dec. 2, 2022, 5:10 p.m.

Related to SocketClass in RBaseX...