Adobe 65029121 Administration Guide - Page 81

Set operations, Logging

Page 81 highlights

FLASH MEDIA SERVER 4.5 CONFIGURATION AND ADMINISTRATION 77 Configuring the server U8 dscpVal; if(getU8Field(m_pAev, IFmsAuthEvent::F_CLIENT_DIFFSERV_BITS, dscpVal)) { dscpVal = 0xFC; bool res = setU8Field(m_pAev, IFmsAuthEvent::F_CLIENT_DIFFSERV_BITS, dscpVal); } U8 dscpMask; dscpMask = 0xF0; bool res = setU8Field(m_pAev, IFmsAuthEvent::F_CLIENT_DIFFSERV_MASK, dscpMask); The following table shows how to use the mask and bits fields together to get the desired bit settings on the socket: No. Current value on DiffServ bits socket DiffServ mask 1 0 2 0 3 0 4 100 5 100 50 252 100 252 255 255 200 128 200 252 New value on successful set Comment 48 ECN bits were masked. 100 252 Although ECN bits were not masked, setting them is not allowed. 228 Mask allowed only MSB to be modified. 200 Mask allowed DSCP bits to be modified. Set operations Set bits in the following Authorization events: E_CONNECT and E_PLAY.You can set bits in the authorize() method of the Authorization plug-in. You cannot set bits in the notify() method of the Authorization plug-in. Get operations Get bits in the following events: E_CONNECT, E_PLAY, and E_STOP.The get result on the F_CLIENT_DIFFSERV_MASK field always returns the value 0xFC. Logging The following table lists error messages for normal connections: Condition Message Log file Unable to set DSCP bits from the Authorization plug-in. While setting diff serv bits for uri %s: Unable to set DiffServ Core field. Unable to query DSCP bits from the socket. While setting diff serv bits for uri %s: Unable to get Core DiffServ field. Last updated 11/28/2012

  • 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
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257

77
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
U8 dscpVal;
if(getU8Field(m_pAev, IFmsAuthEvent::F_CLIENT_DIFFSERV_BITS, dscpVal))
{
dscpVal = 0xFC;
bool res = setU8Field(m_pAev,
IFmsAuthEvent::F_CLIENT_DIFFSERV_BITS,
dscpVal);
}
U8 dscpMask;
dscpMask = 0xF0;
bool res = setU8Field(m_pAev,
IFmsAuthEvent::F_CLIENT_DIFFSERV_MASK,
dscpMask);
The following table shows how to use the mask and bits fields together to get the desired bit settings on the socket:
Set operations
Set bits in the following Authorization events: E_CONNECT and E_PLAY.You can set bits in the
authorize()
method of the Authorization plug-in. You cannot set bits in the
notify()
method of the Authorization plug-in.
Get operations
Get bits in the following events: E_CONNECT,
E_PLAY, and E_STOP.The get result on the
F_CLIENT_DIFFSERV_MASK field always returns the value 0xFC.
Logging
The following table lists error messages for normal connections:
No.
Current value on
socket
DiffServ bits
DiffServ mask
New value
on
successful
set
Comment
1
0
50
252
48
ECN bits were masked.
2
0
100
252
100
3
0
255
255
252
Although ECN bits were not masked, setting them is
not allowed.
4
100
200
128
228
Mask allowed only MSB to be modified.
5
100
200
252
200
Mask allowed DSCP bits to be modified.
Condition
Message
Log file
Unable to set DSCP bits from the Authorization plug-in.
While setting diff serv bits for uri %s: Unable to set DiffServ
field.
Core
Unable to query DSCP bits from the socket.
While setting diff serv bits for uri %s: Unable to get
DiffServ field.
Core