FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ShadePE/src/raklib/server/ServerInstance.php at master · ExplodingPE/ShadePE · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ExplodingPE
/
ShadePE
Public
forked from
sftpocketmine/SpigotPE
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
ShadePE
/
src
/
raklib
/
server
/
ServerInstance.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
61 lines (51 loc) · 1.44 KB
Breadcrumbs
ShadePE
/
src
/
raklib
/
server
/
ServerInstance.php
Copy path
File metadata and controls
61 lines (51 loc) · 1.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/*
* RakLib network library
*
*
* This project is not affiliated with Jenkins Software LLC nor RakNet.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*/
namespace
raklib
\
server
;
use
raklib
\
protocol
\
EncapsulatedPacket
;
interface
ServerInstance{
/**
* @param string $identifier
* @param string $address
* @param int $port
* @param string|int $clientID
*/
public
function
openSession
(
$
identifier
,
$
address
,
$
port
,
$
clientID
);
/**
* @param string $identifier
* @param string $reason
*/
public
function
closeSession
(
$
identifier
,
$
reason
);
/**
* @param string $identifier
* @param EncapsulatedPacket $packet
* @param int $flags
*/
public
function
handleEncapsulated
(
$
identifier
,
$
buffer
);
/**
* @param string $address
* @param int $port
* @param string $payload
*/
public
function
handleRaw
(
$
address
,
$
port
,
$
payload
);
/**
* @param string $identifier
* @param int $identifierACK
*/
public
function
notifyACK
(
$
identifier
,
$
identifierACK
);
/**
* @param string $option
* @param string $value
*/
public
function
handleOption
(
$
option
,
$
value
);
}
Back
|
FazBrowse Home
|
New Git URL