This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.netty.channel.EventLoopGroup; | |
import io.netty.channel.nio.NioEventLoopGroup; | |
public class AutoFlushExceptionDemoApp { | |
public static void main(final String[] args) throws Exception { | |
final EventLoopGroup eventLoopGroup = new NioEventLoopGroup(1); | |
final ExampleServer server = new ExampleServer(eventLoopGroup); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.net.ssl.SSLException; | |
import io.netty.bootstrap.Bootstrap; | |
import io.netty.channel.Channel; | |
import io.netty.channel.ChannelFuture; | |
import io.netty.channel.ChannelHandlerContext; | |
import io.netty.channel.ChannelInitializer; | |
import io.netty.channel.EventLoopGroup; | |
import io.netty.channel.socket.SocketChannel; | |
import io.netty.channel.socket.nio.NioSocketChannel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nioEventLoopGroup-2-2] INFO io.netty.handler.codec.http2.Http2FrameLogger - | |
----------------OUTBOUND-------------------- | |
[id: 0xf41ffb4d, /127.0.0.1:49611 => localhost/127.0.0.1:8443] SETTINGS: ack=false, settings={} | |
------------------------------------ | |
[nioEventLoopGroup-2-2] INFO com.relayrides.pushy.apns.ApnsClient - Connected to localhost/127.0.0.1:8443. | |
[nioEventLoopGroup-2-2] INFO io.netty.handler.codec.http2.Http2FrameLogger - | |
----------------INBOUND-------------------- | |
[id: 0xf41ffb4d, /127.0.0.1:49611 => localhost/127.0.0.1:8443] SETTINGS: ack=false, settings={MAX_CONCURRENT_STREAMS=8} | |
------------------------------------ | |
[nioEventLoopGroup-2-2] INFO io.netty.handler.codec.http2.Http2FrameLogger - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pods/Bugsnag/bugsnag/BugsnagEvent.m:91:0 -[BugsnagEvent getStackTraceWithException:] | |
Pods/Bugsnag/bugsnag/BugsnagEvent.m:50:0 -[BugsnagEvent addSignal:] | |
Pods/Bugsnag/bugsnag/BugsnagNotifier.m:73:0 -[BugsnagNotifier notifySignal:] | |
Pods/Bugsnag/bugsnag/Bugsnag.m:65:0 handle_signal | |
libsystem_platform.dylib:0 _sigtramp | |
UIKit:0 -[UINavigationController _startCustomTransition:] | |
UIKit:0 -[UINavigationController _startDeferredTransitionIfNeeded:] | |
UIKit:0 -[UINavigationController __viewWillLayoutSubviews] | |
UIKit:0 -[UILayoutContainerView layoutSubviews] | |
UIKit:0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000000005636 t +[KISSMetricsAPI sharedAPIWithKey:] | |
000000000000564f t +[KISSMetricsAPI sharedAPI] | |
0000000000003d45 t +[KISSmetricsAPI allocWithZone:] | |
0000000000004e67 t +[KISSmetricsAPI kma_setVerification:] | |
0000000000004e89 t +[KISSmetricsAPI kma_verification] | |
0000000000003c00 t +[KISSmetricsAPI load] | |
0000000000003c3b t +[KISSmetricsAPI sharedAPIWithKey:] | |
0000000000003d1d t +[KISSmetricsAPI sharedAPI] | |
00000000000055d1 t +[KISSmetricsAPI uth_sharedAPIInitialized] | |
00000000000060a9 t +[KMAArchiver allocWithZone:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ChannelReadTestApp { | |
private static final int PORT = 9852; | |
public static void main(String[] args) throws InterruptedException { | |
final WriteAndIdleServer server = new WriteAndIdleServer(PORT); | |
final ReadAndIdleClient client = new ReadAndIdleClient(PORT); | |
server.start(); | |
client.start(); |