All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static Socket |
$as(Object obj) |
Objs |
address() |
Number |
bufferSize() |
Number |
bytesRead() |
Number |
bytesWritten() |
void |
connect(double port) |
void |
connect(double port,
String host) |
void |
connect(double port,
String host,
Function connectionListener) |
void |
connect(String path) |
void |
connect(String path,
Function connectionListener) |
void |
destroy() |
void |
end() |
void |
end(Buffer buffer) |
void |
end(Buffer buffer,
Function cb) |
void |
end(Object data) |
void |
end(Object data,
String encoding) |
void |
end(String str) |
void |
end(String str,
Function cb) |
void |
end(String str,
String encoding) |
void |
end(String str,
String encoding,
Function cb) |
String |
localAddress() |
Number |
localPort() |
void |
pause() |
void |
ref() |
String |
remoteAddress() |
String |
remoteFamily() |
Number |
remotePort() |
void |
resume() |
void |
setEncoding() |
void |
setEncoding(String encoding) |
void |
setKeepAlive() |
void |
setKeepAlive(Boolean enable) |
void |
setKeepAlive(Boolean enable,
double initialDelay) |
void |
setNoDelay() |
void |
setNoDelay(Boolean noDelay) |
void |
setTimeout(double timeout) |
void |
setTimeout(double timeout,
Function callback) |
void |
unref() |
Boolean |
write(Buffer buffer) |
Boolean |
write(Buffer buffer,
Function cb) |
Boolean |
write(Object data) |
Boolean |
write(Object data,
String encoding) |
Boolean |
write(Object data,
String encoding,
Function callback) |
Boolean |
write(String str) |
Boolean |
write(String str,
Function cb) |
Boolean |
write(String str,
String encoding) |
Boolean |
write(String str,
String encoding,
Function cb) |
Boolean |
write(String str,
String encoding,
String fd) |