question: public char [ ] createTelegram ( char [ ] payLoad , int type , Object id ) { char [ ] result = { } ; String tgmStr = new String ( getNewHeader ( payLoad , type , id ) ) + new String ( payLoad ) + new String ( getFooter ( payLoad ) ) ; result = tgmStr . toCharArray ( ) ; return result ; }
target:  create a new protocol telegram containing specified payload