streamMode variable

Micael Karlberg micael.karlberg@REDACTED
Mon Oct 27 18:03:03 CET 2003


Hi,

LCD1=#'LocalControlDescriptor'{streamMode = recvOnly} is the correct.
What kind of problems did you encounter?

/BMK


mwilligs@REDACTED writes:
 > In the file megaco_message_v1.hlr the structure LocalControlDescriptor
 > have the streamMode variable.
 > 
 > Witch are the posible values of streamMode?
 > In the RFC 3015 page 91 is defined as follow:
 > StreamMode ::= ENUMERATED
 > {
 > 	sendOnly(0),
 > 	recvOnly(1),
 > 	sendRecv(2),
 > 	...
 > }
 > The point is: Is it right to write it this way in erlang?:
 > 	LCD1=#'LocalControlDescriptor'{streamMode=2}
 > or shall I write it in this way?:
 > 	LCD1=#'LocalControlDescriptor'{streamMode=recvOnly}
 > 
 > Because, appareantly neither of this ways is correct.
 > 
 > thanks in advance

-- 
Micael Karlberg          Ericsson AB, Älvsjö Sweden
Tel:  +46 8 727 5668     EAB/UHK/KD - OTP Product Development
ECN:  851 5668           Mail: micael.karlberg@REDACTED
Fax:  +46 8 727 5775    



More information about the erlang-questions mailing list