Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/packets/PacketSessionX11Request.java @ 307:071eccdff8ea ganymed
fix java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2014 14:16:58 -0700 |
parents | 91a31873c42a |
children |
comparison
equal
deleted
inserted
replaced
305:d2b303406d63 | 307:071eccdff8ea |
---|---|
16 TypesWriter tw = new TypesWriter(); | 16 TypesWriter tw = new TypesWriter(); |
17 tw.writeByte(Packets.SSH_MSG_CHANNEL_REQUEST); | 17 tw.writeByte(Packets.SSH_MSG_CHANNEL_REQUEST); |
18 tw.writeUINT32(recipientChannelID); | 18 tw.writeUINT32(recipientChannelID); |
19 tw.writeString("x11-req"); | 19 tw.writeString("x11-req"); |
20 tw.writeBoolean(wantReply); | 20 tw.writeBoolean(wantReply); |
21 | |
22 tw.writeBoolean(singleConnection); | 21 tw.writeBoolean(singleConnection); |
23 tw.writeString(x11AuthenticationProtocol); | 22 tw.writeString(x11AuthenticationProtocol); |
24 tw.writeString(x11AuthenticationCookie); | 23 tw.writeString(x11AuthenticationCookie); |
25 tw.writeUINT32(x11ScreenNumber); | 24 tw.writeUINT32(x11ScreenNumber); |
26 | |
27 payload = tw.getBytes(); | 25 payload = tw.getBytes(); |
28 } | 26 } |
29 | 27 |
30 public byte[] getPayload() { | 28 public byte[] getPayload() { |
31 return payload; | 29 return payload; |