Package com.apama.epl.plugin
Class Channel
- java.lang.Object
-
- com.apama.epl.plugin.Channel
-
public class Channel extends java.lang.Object
Class that holds a channel reference and can be passed across the correlator EPL/Java plugin boundary. This class must only be used from an EPL Java Plugin (not from JMon).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
boolean
empty()
Returns true iff this wraps an empty context i.e.boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString()
Returns a string representation of the channel instance.
-
-
-
Constructor Detail
-
Channel
public Channel()
The default constructor. Corresponds to "new Channel" in EPL, creating a Channel that wraps an empty context.
-
Channel
public Channel(java.lang.String name)
Create a Channel wrapping a channel name
-
Channel
public Channel(Context ctx)
Create a Channel that wraps a Context
-
Channel
public Channel(Channel other)
Copy constructor
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representation of the channel instance. This method produces an identical string to the one produced in MonitorScript.- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
empty
public boolean empty()
Returns true iff this wraps an empty context i.e. sending to this won't do anything
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
- See Also:
Object.clone()
-
-