public class GSocket extends GObject
GObject.GCallback, GObject.GInterface, GObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Constructor and Description |
|---|
GSocket(GSocketFamily family,
GSocketType type,
GSocketProtocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
GSocket |
bind(String address,
int port) |
void |
connect(String address,
int port) |
int |
getFD() |
GInetSocketAddress |
getLocalAddress() |
GInetSocketAddress |
getRemoteAddress() |
GSocketFamily |
getSocketFamily() |
GSocketProtocol |
getSocketProtocol() |
GSocketType |
getSocketType() |
boolean |
isBlocking() |
addCallback, connect, connect, disconnect, dispose, emit, emit, get, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getRefCount, getTypeName, invalidate, listPropertyNames, removeCallback, setclose, disown, equals, getPointer, getRawPointer, hashCode, toStringpublic static final String GTYPE_NAME
public GSocket(GSocketFamily family, GSocketType type, GSocketProtocol protocol) throws GLibException
GLibExceptionpublic void connect(String address, int port)
public int getFD()
public GInetSocketAddress getLocalAddress()
public GInetSocketAddress getRemoteAddress()
public GSocketFamily getSocketFamily()
public GSocketProtocol getSocketProtocol()
public GSocketType getSocketType()
public boolean isBlocking()
Copyright © 2021 gstreamer-java. All rights reserved.