JavaSteam
Toggle table of contents
1.7.0
jvm
Platform filter
jvm
Switch theme
Search in API
JavaSteam
JavaSteam
/
in.dragonbra.javasteam.networking.steam3
/
Connection
Connection
abstract
class
Connection
Author
lngtr
Since
2018-02-20
Inheritors
EnvelopeEncryptedConnection
TcpConnection
UdpConnection
WebSocketConnection
Members
Constructors
Connection
Link copied to clipboard
constructor
(
)
Functions
connect
Link copied to clipboard
fun
connect
(
endPoint
:
InetSocketAddress
)
abstract
fun
connect
(
endPoint
:
InetSocketAddress
,
timeout
:
Int
)
Connects to the specified end point.
disconnect
Link copied to clipboard
abstract
fun
disconnect
(
userInitiated
:
Boolean
)
Disconnects this instance.
get
Connected
Link copied to clipboard
open
fun
getConnected
(
)
:
Event
<
EventArgs
>
get
Current
End
Point
Link copied to clipboard
abstract
fun
getCurrentEndPoint
(
)
:
InetSocketAddress
get
Disconnected
Link copied to clipboard
open
fun
getDisconnected
(
)
:
Event
<
DisconnectedEventArgs
>
get
Local
IP
Link copied to clipboard
abstract
fun
getLocalIP
(
)
:
InetAddress
Gets the local IP.
get
Net
Msg
Received
Link copied to clipboard
open
fun
getNetMsgReceived
(
)
:
Event
<
NetMsgEventArgs
>
get
Protocol
Types
Link copied to clipboard
abstract
fun
getProtocolTypes
(
)
:
ProtocolTypes
send
Link copied to clipboard
abstract
fun
send
(
data
:
Array
<
Byte
>
)
Sends the specified data packet.