summaryrefslogtreecommitdiff
path: root/opendc-core
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-08 13:17:11 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-08 13:17:11 +0200
commit62c113b3bae2f5701b057ce45043cbdf50346e67 (patch)
treeec392ac542e4ca8dc5b4f4e889f65592087a5127 /opendc-core
parent314c68fb4b4202538cfdb21aa2a56b2aa3aad6fb (diff)
Remove obsolete messaging classes
This change removes some unused messaging classes, which have become obselete after the design change.
Diffstat (limited to 'opendc-core')
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexChannel.kt33
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexPort.kt33
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadableChannel.kt33
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadablePort.kt33
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritableChannel.kt33
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritablePort.kt33
6 files changed, 0 insertions, 198 deletions
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexChannel.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexChannel.kt
deleted file mode 100644
index 942f56c8..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexChannel.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [DuplexChannel] instance allows bi-directional communication over the channel.
- *
- * @param T The shape of the label of the edge of this channel.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface DuplexChannel<out T>: Channel<T>, Readable, Writable
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexPort.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexPort.kt
deleted file mode 100644
index bc67ae65..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/DuplexPort.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [DuplexPort] instance allows bi-directional communication with multiple channels.
- *
- * @param T The shape of the label of the edges of the channels of this port.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface DuplexPort<out T>: Port<DuplexChannel<T>>, Readable, Writable
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadableChannel.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadableChannel.kt
deleted file mode 100644
index 6bbc3b7d..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadableChannel.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [ReadableChannel] instance allows objects to receive messages from the channel.
- *
- * @param T The shape of the label of the edge of this channel.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface ReadableChannel<out T>: Channel<T>, Readable
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadablePort.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadablePort.kt
deleted file mode 100644
index a8ad6e16..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/ReadablePort.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [ReadablePort] instance allows objects to receive messages from the channel.
- *
- * @param T The shape of the label of the edges of the channels of this port.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface ReadablePort<out T>: Port<ReadableChannel<T>>, Readable
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritableChannel.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritableChannel.kt
deleted file mode 100644
index fcfbd5b4..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritableChannel.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [WritableChannel] instance allows objects to write messages to the channel.
- *
- * @param T The shape of the label of the edge of this channel.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface WritableChannel<out T>: Channel<T>, Writable
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritablePort.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritablePort.kt
deleted file mode 100644
index a475709a..00000000
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/simulator/messaging/WritablePort.kt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * MIT License
- *
- * Copyright (c) 2017 atlarge-research
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package nl.atlarge.opendc.simulator.messaging
-
-/**
- * A [WritablePort] instance allows objects to write messages to multiple channels.
- *
- * @param T The shape of the label of the edges of the channels of this port.
- * @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
- */
-interface WritablePort<out T>: Port<WritableChannel<T>>, Writable