|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.Protocol
com.caucho.protocols.flash.SocketPolicyProtocol
public class SocketPolicyProtocol
Simple protocol that sends the contents of a specified file as soon as it is contacted. It is intended for sending flash policy files for flash.net.Sockets when the target port of the socket is < 1024.
| Constructor Summary | |
|---|---|
SocketPolicyProtocol()
|
|
| Method Summary | |
|---|---|
ServerRequest |
createRequest(Connection conn)
Create a Request object for the new thread. |
java.lang.String |
getProtocolName()
Returns the protocol name. |
void |
init()
|
void |
setPolicyFile(Path path)
Sets the flash socket policy file. |
void |
setProtocolName(java.lang.String name)
Sets the protocol name. |
void |
setSocketPolicyFile(Path path)
|
| Methods inherited from class com.caucho.server.port.Protocol |
|---|
addText, getPort, getServer, setParent, setServer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketPolicyProtocol()
| Method Detail |
|---|
public void setSocketPolicyFile(Path path)
public void setPolicyFile(Path path)
public java.lang.String getProtocolName()
getProtocolName in interface RequestFactorygetProtocolName in class Protocolpublic void setProtocolName(java.lang.String name)
setProtocolName in class Protocolpublic void init()
public ServerRequest createRequest(Connection conn)
Protocol
createRequest in interface RequestFactorycreateRequest in class Protocol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||