|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Protocol
Defines access to a Protocol. Protocols are supplied to help deal with disecting raw packet byte buffers, analyzing protocol specific structure and state. Also verify protocol integrity and check for errors.
| Method Summary | |
|---|---|
java.util.Set |
getAvailableProtocolImplementationTypes()
Returns a set of available types (ProtocolType) for this specific protocol. |
java.lang.String |
getName()
Returns the name of this protocol. |
ProtocolImplementationType |
getProtocolImplementationType()
Returns the current implementation type of this specific protocol. |
java.util.List |
getSinkBindings()
Returns a list of Bindings that are bound to this protocol. |
java.util.List |
getSourceBindings()
Returns a list of Bindings that are defined for this protocol. |
java.net.URL |
getURL()
Get the URL which points to the defininition of this protocol. |
boolean |
isLoaded()
Checks if the current protocol has been loaded. |
void |
load()
Loads the protocol into memory from source definition. |
| Method Detail |
|---|
java.lang.String getName()
java.util.List getSourceBindings()
java.util.List getSinkBindings()
boolean isLoaded()
void load()
throws ProtocolDeclarationException,
ProtocolNotFoundException,
java.io.IOException
java.io.IOException - any protocols while trying to physically access the protocol definition
ProtocolNotFoundException - protocol definition was not found at the specified url
ProtocolDeclarationException - declaration or syntax errors. Declaration error is the one that does not
technically generate a NPL syntax error in the source, but declares an
invalid object that can not be used as a protocol. Only Headers and Family
object can be used as protocol declarations.java.net.URL getURL()
ProtocolImplementationType getProtocolImplementationType()
java.util.Set getAvailableProtocolImplementationTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||