toggle menu
javasteam
1.5.1
jvm
switch theme
search in API
javasteam
/
in.dragonbra.javasteam.steam.discovery
/
ServerRecord
Server
Record
open
class
ServerRecord
Represents the information needed to connect to a CM server
Members
Properties
endpoint
Link copied to clipboard
val
endpoint
:
InetSocketAddress
protocol
Types
Link copied to clipboard
val
protocolTypes
:
EnumSet
<
ProtocolTypes
>
Functions
create
Server
Link copied to clipboard
open
fun
createServer
(
host
:
String
,
port
:
Int
,
protocolTypes
:
ProtocolTypes
)
:
ServerRecord
open
fun
createServer
(
host
:
String
,
port
:
Int
,
protocolTypes
:
EnumSet
<
ProtocolTypes
>
)
:
ServerRecord
create
Socket
Server
Link copied to clipboard
open
fun
createSocketServer
(
endpoint
:
InetSocketAddress
)
:
ServerRecord
create
Web
Socket
Server
Link copied to clipboard
open
fun
createWebSocketServer
(
address
:
String
)
:
ServerRecord
equals
Link copied to clipboard
open
fun
equals
(
obj
:
Any
)
:
Boolean
get
Host
Link copied to clipboard
open
fun
getHost
(
)
:
String
get
Port
Link copied to clipboard
open
fun
getPort
(
)
:
Int
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
try
Create
Socket
Server
Link copied to clipboard
open
fun
tryCreateSocketServer
(
address
:
String
)
:
ServerRecord
Creates a Socket server given an IP endpoint.