| Erlang An Experimental Telephony Programming Language J.L Armstrong R.S Virding International Switching Symposium, May 27-June 1, 1990 Stockholm |
....Every value is an arity two tuple, with the typename as the first component and the actual value as the second component. The entire tuple forms a complete instance of the type. This instance can be given as argument to the encoder. ASN.1) IntArr : SEQUENCE OF INTEGER (1. 7) Erlang) IntArr ,[2,4,5,6,2] (ASN.1) Weekdays : SET OF DayOfTheWeek (Erlang) WeekDays , 2,7,6] ASN.1) File : SEQUENCE OF OCTET STRING (Erlang) File , This is a file header , This is line two in the file , And the last line ] ASN.1) Struct : SET b BOOLEAN, i INTEGER, v VisibleString (Erlang) ....
.... PrinatbleString , c SEQUENCE OF BOOLEAN (Erlang) Embedded , a,6 , b, i,77 , t, This is a string ] c, TRUE , FALSE , TRUE ] ASN.1) Embedded2 : SET a SET OF IntArr, ch CHOICE INTEGER, OBJECT IDENTIFIER , s SEQUENCE sz Size, day DayOfTheWeek (Erlang) Embedded2 , a,[4,5,6,7,8] , ch,999 , s, sz,small , day,7 ] Example 11:Embedded structured types Example 11 gives several examples of structured types that contain further structured types. To simplify the handling of structured types there exists a utility program called asn1:val(Typename) that returns an example ....
Erlang An Experimental Telephony Programming Language J.L Armstrong R.S Virding International Switching Symposium, May 27-June 1, 1990 Stockholm
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC