public class FlashPolicyServerHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private static String |
NEWLINE |
private static org.jboss.netty.buffer.ChannelBuffer |
policyFile |
private String |
portNumber |
Constructor and Description |
---|
FlashPolicyServerHandler(String portNum) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
org.jboss.netty.buffer.ChannelBuffer |
getPolicyFileContents() |
String |
getPortNumber() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
private static final org.slf4j.Logger LOG
private static org.jboss.netty.buffer.ChannelBuffer policyFile
private final String portNumber
private static final String NEWLINE
public FlashPolicyServerHandler(String portNum)
public String getPortNumber()
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Exception
public org.jboss.netty.buffer.ChannelBuffer getPolicyFileContents() throws Exception
Exception
Copyright © 2013. All Rights Reserved.