-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathDatagramPacket.php
More file actions
149 lines (137 loc) Β· 4.72 KB
/
DatagramPacket.php
File metadata and controls
149 lines (137 loc) Β· 4.72 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\net;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
/**
* The `DatagramPacket` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class DatagramPacket extends Object_
{
/**
* Returns the IP address of the machine to which this datagram is being sent or from which the datagram was received.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getAddress
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getAddress($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the data buffer.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getData
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getData($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the length of the data to be sent or the length of the data received.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getLength
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getLength($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the offset of the data to be sent or the offset of the data received.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getOffset
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getOffset($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the port number on the remote host to which this datagram is being sent or from which the datagram was received.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getPort
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getPort($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Gets the SocketAddress (usually IP address + port number) of the remote host that this packet is being sent to or is coming from.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#getSocketAddress
* @param null|mixed $a
* @throws NotImplementedException
*/
public function getSocketAddress($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the IP address of the machine to which this datagram is being sent.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#setAddress
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setAddress($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Set the data buffer for this packet.
* Set the data buffer for this packet.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#setData
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function setData($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Set the length for this packet.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#setLength
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setLength($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the port number on the remote host to which this datagram is being sent.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#setPort
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setPort($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets the SocketAddress (usually IP address + port number) of the remote host to which this datagram is being sent.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#setSocketAddress
* @param null|mixed $a
* @throws NotImplementedException
*/
public function setSocketAddress($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}